mirror of
https://github.com/django/django.git
synced 2025-11-07 07:15:35 +00:00
Fixed #25604 -- Added makemigrations --check option.
Command exits with non-zero status if changes without migrations exist.
This commit is contained in:
@@ -157,6 +157,10 @@ Management Commands
|
||||
allows specifying the message level that will cause the command to exit with
|
||||
a non-zero status.
|
||||
|
||||
* The new :djadminopt:`makemigrations --check <--check>` option makes the
|
||||
command exit with a non-zero status when model changes without migrations are
|
||||
detected.
|
||||
|
||||
Migrations
|
||||
^^^^^^^^^^
|
||||
|
||||
@@ -268,7 +272,8 @@ Features deprecated in 1.10
|
||||
Miscellaneous
|
||||
~~~~~~~~~~~~~
|
||||
|
||||
* ...
|
||||
* The ``makemigrations --exit`` option is deprecated in favor of the
|
||||
:djadminopt:`--check` option.
|
||||
|
||||
.. _removed-features-1.10:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user