1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

Fixed #31700 -- Made makemigrations command display meaningful symbols for each operation.

This commit is contained in:
Amir Karimi
2023-09-16 05:41:22 +03:30
committed by Mariusz Felisiak
parent c7e986fc9f
commit 27a3eee721
14 changed files with 214 additions and 19 deletions

View File

@@ -178,12 +178,17 @@ Logging
Management Commands
~~~~~~~~~~~~~~~~~~~
* ...
* :djadmin:`makemigrations` command now displays meaningful symbols for each
operation to highlight :class:`operation categories
<django.db.migrations.operations.base.OperationCategory>`.
Migrations
~~~~~~~~~~
* ...
* The new ``Operation.category`` attribute allows specifying an
:class:`operation category
<django.db.migrations.operations.base.OperationCategory>` used by the
:djadmin:`makemigrations` to display a meaningful symbol for the operation.
Models
~~~~~~