summaryrefslogtreecommitdiff
path: root/docs/ref/django-admin.txt
diff options
context:
space:
mode:
authorDavid Wobrock <david.wobrock@gmail.com>2022-06-14 20:12:20 +0200
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2022-06-17 07:50:39 +0200
commite286ce17ff8bf72a248ce3177bbd5163c50a6ded (patch)
treed1aaed2412a29c44be845821ad5434a6aedaed2a /docs/ref/django-admin.txt
parent3893fcdd94498da8f88ae7313b6939ab09bff509 (diff)
Fixed #24870 -- Added --update option to makemigrations command.
Diffstat (limited to 'docs/ref/django-admin.txt')
-rw-r--r--docs/ref/django-admin.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/ref/django-admin.txt b/docs/ref/django-admin.txt
index 25a1107c55..5016b25ea2 100644
--- a/docs/ref/django-admin.txt
+++ b/docs/ref/django-admin.txt
@@ -832,6 +832,13 @@ migrations are detected.
Diverts log output and input prompts to ``stderr``, writing only paths of
generated migration files to ``stdout``.
+.. django-admin-option:: --update
+
+.. versionadded:: 4.2
+
+Merges model changes into the latest migration and optimize the resulting
+operations.
+
``migrate``
-----------