diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/django-admin.txt | 5 | ||||
| -rw-r--r-- | docs/releases/4.2.txt | 3 |
2 files changed, 8 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 diff --git a/docs/releases/4.2.txt b/docs/releases/4.2.txt index 2520d14361..6cfd0865f6 100644 --- a/docs/releases/4.2.txt +++ b/docs/releases/4.2.txt @@ -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 |
