summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
authorMelvyn Sopacua <m.r.sopacua@gmail.com>2017-02-20 15:45:20 +0100
committerTim Graham <timograham@gmail.com>2017-07-26 13:47:35 -0400
commit5bb9b9a3881fb1a334efb2c1357a20bdce68a960 (patch)
tree3d066ba8c7f55ba66e7babcf9e2e559bfb334845 /docs/ref
parent5ccbcc5bf61c746a1d5ec2b3d2e0dc56c1a63fe0 (diff)
Fixed #28363 -- Allowed naming the migration generated by squashmigrations.
Diffstat (limited to 'docs/ref')
-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 20e1bb02de..3a83bd2b7d 100644
--- a/docs/ref/django-admin.txt
+++ b/docs/ref/django-admin.txt
@@ -1132,6 +1132,13 @@ behavior, as optimization is meant to be safe.
Suppresses all user prompts.
+.. django-admin-option:: --squashed-name SQUASHED_NAME
+
+.. versionadded:: 2.0
+
+Sets the name of the squashed migration. When omitted, the name is based on the
+first and last migration, with ``_squashed_`` in between.
+
``startapp``
------------