mirror of
https://github.com/django/django.git
synced 2025-10-24 14:16:09 +00:00
Fixed #34051 -- Made makemigrations --check exit before making migrations.
This commit is contained in:
committed by
Mariusz Felisiak
parent
5d36a8266c
commit
80d38de52b
@@ -825,6 +825,11 @@ Generate migration files without Django version and timestamp header.
|
||||
Makes ``makemigrations`` exit with a non-zero status when model changes without
|
||||
migrations are detected.
|
||||
|
||||
.. versionchanged:: 4.2
|
||||
|
||||
In older versions, the missing migrations were also created when using the
|
||||
``--check`` option.
|
||||
|
||||
.. django-admin-option:: --scriptable
|
||||
|
||||
.. versionadded:: 4.1
|
||||
|
||||
@@ -322,6 +322,9 @@ Miscellaneous
|
||||
* The ``autofocus`` HTML attribute in the admin search box is removed as it can
|
||||
be confusing for screen readers.
|
||||
|
||||
* The :option:`makemigrations --check` option no longer creates missing
|
||||
migration files.
|
||||
|
||||
.. _deprecated-features-4.2:
|
||||
|
||||
Features deprecated in 4.2
|
||||
|
||||
Reference in New Issue
Block a user