From 80d38de52bb2721a7b44fce4057bcff571afc23a Mon Sep 17 00:00:00 2001 From: Jacob Walls Date: Sun, 25 Sep 2022 19:53:55 -0400 Subject: Fixed #34051 -- Made makemigrations --check exit before making migrations. --- docs/ref/django-admin.txt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'docs/ref') diff --git a/docs/ref/django-admin.txt b/docs/ref/django-admin.txt index af27e0afb5..aa4c4e6ff8 100644 --- a/docs/ref/django-admin.txt +++ b/docs/ref/django-admin.txt @@ -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 -- cgit v1.3