mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed #25304 -- Allowed management commands to check if migrations are applied.
This commit is contained in:
committed by
Tim Graham
parent
004ba0f99e
commit
50931dfa53
@@ -248,6 +248,12 @@ Management Commands
|
||||
* Added a warning to :djadmin:`dumpdata` if a proxy model is specified (which
|
||||
results in no output) without its concrete parent.
|
||||
|
||||
* The new :attr:`BaseCommand.requires_migrations_checks
|
||||
<django.core.management.BaseCommand.requires_migrations_checks>` attribute
|
||||
may be set to ``True`` if you want your command to print a warning, like
|
||||
:djadmin:`runserver` does, if the set of migrations on disk don't match the
|
||||
migrations in the database.
|
||||
|
||||
Migrations
|
||||
~~~~~~~~~~
|
||||
|
||||
|
||||
Reference in New Issue
Block a user