summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/django-admin.txt3
-rw-r--r--docs/releases/4.2.2.txt3
2 files changed, 6 insertions, 0 deletions
diff --git a/docs/ref/django-admin.txt b/docs/ref/django-admin.txt
index d268d88e80..110b1e802a 100644
--- a/docs/ref/django-admin.txt
+++ b/docs/ref/django-admin.txt
@@ -757,6 +757,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``
-----------
diff --git a/docs/releases/4.2.2.txt b/docs/releases/4.2.2.txt
index ca21e5f1ec..7506b8a237 100644
--- a/docs/releases/4.2.2.txt
+++ b/docs/releases/4.2.2.txt
@@ -19,3 +19,6 @@ Bugfixes
* Fixed a regression in Django 4.2 that caused a crash of ``QuerySet.defer()``
when passing a ``ManyToManyField`` or ``GenericForeignKey`` reference. While
doing so is a no-op, it was allowed in older version (:ticket:`34570`).
+
+* Fixed a bug in Django 4.2 where :option:`makemigrations --update` didn't
+ respect the ``--name`` option (:ticket:`34568`).