summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
authorDavid Vaz <davidmgvaz@gmail.com>2019-09-27 14:31:58 -0700
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2019-09-30 09:24:11 +0200
commite02f67ef2d03d48128e7a118bf75f0418e24e8ac (patch)
tree8430cb2f3f1806789da2328fbfceba20942cede1 /docs/ref
parentfa8fe09e4e2b538c5d50a559081861d5c0635d55 (diff)
Doc'd that migrate commmand accepts a unique migration name prefix.
Diffstat (limited to 'docs/ref')
-rw-r--r--docs/ref/django-admin.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/docs/ref/django-admin.txt b/docs/ref/django-admin.txt
index 7927b89e63..ea935501c6 100644
--- a/docs/ref/django-admin.txt
+++ b/docs/ref/django-admin.txt
@@ -802,8 +802,10 @@ The behavior of this command changes depending on the arguments provided:
* ``<app_label> <migrationname>``: Brings the database schema to a state where
the named migration is applied, but no later migrations in the same app are
applied. This may involve unapplying migrations if you have previously
- migrated past the named migration. Use the name ``zero`` to migrate all the
- way back i.e. to revert all applied migrations for an app.
+ migrated past the named migration. You can use a prefix of the migration
+ name, e.g. ``0001``, as long as it's unique for the given app name. Use the
+ name ``zero`` to migrate all the way back i.e. to revert all applied
+ migrations for an app.
.. warning::