summaryrefslogtreecommitdiff
path: root/docs/ref/django-admin.txt
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2023-05-17 13:14:43 +0200
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2023-05-17 13:15:30 +0200
commitcdd970ae22303e6c58b5c1f3ba695c470a811b56 (patch)
treee5ca84561a4d59a8ca90648fe9d1e351f97a3c19 /docs/ref/django-admin.txt
parent2b5c5e54de6545c6cf3cc97996b37618cbae87bd (diff)
downloaddjango-stable/4.2.x.tar.gz
[4.2.x] Fixed #34568 -- Made makemigrations --update respect --name option.stable/4.2.x
Thanks David Sanders for the report. Backport of c52f4295f254e1c14af769d22b1a5f516a941f58 from main
Diffstat (limited to 'docs/ref/django-admin.txt')
-rw-r--r--docs/ref/django-admin.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/ref/django-admin.txt b/docs/ref/django-admin.txt
index 5e1be0d206..1c43523d67 100644
--- a/docs/ref/django-admin.txt
+++ b/docs/ref/django-admin.txt
@@ -759,6 +759,9 @@ generated migration files to ``stdout``.
Merges model changes into the latest migration and optimize the resulting
operations.
+The updated migration will have a generated name. In order to preserve the
+previous name, set it using ``--name``.
+
``migrate``
-----------