summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
authorJacob Walls <jacobtylerwalls@gmail.com>2022-09-25 19:53:55 -0400
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2022-09-28 09:48:07 +0200
commit80d38de52bb2721a7b44fce4057bcff571afc23a (patch)
treeb05b28720b554ff754c37b118c15dc2e44a480c1 /docs/ref
parent5d36a8266c7d5d1994d7a7eeb4016f80d9cb0401 (diff)
Fixed #34051 -- Made makemigrations --check exit before making migrations.
Diffstat (limited to 'docs/ref')
-rw-r--r--docs/ref/django-admin.txt5
1 files changed, 5 insertions, 0 deletions
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