1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

Fixed #34051 -- Made makemigrations --check exit before making migrations.

This commit is contained in:
Jacob Walls
2022-09-25 19:53:55 -04:00
committed by Mariusz Felisiak
parent 5d36a8266c
commit 80d38de52b
4 changed files with 16 additions and 4 deletions

View File

@@ -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