summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
authorCarl Meyer <carl@oddbird.net>2014-11-17 10:13:47 -0700
committerCarl Meyer <carl@oddbird.net>2014-11-19 16:11:44 -0700
commitab2819aa7b09d36d9ff24830a9825aa52b87fdb4 (patch)
treed777e7da6e47f79a75fd4c56262a0bd6811b942f /docs/ref
parente7b9a58b081299b30f807d5c66f7a5d1940efe4c (diff)
Fixed #23410 -- Avoided unnecessary rollbacks in related apps when migrating backwards.
Diffstat (limited to 'docs/ref')
-rw-r--r--docs/ref/django-admin.txt9
1 files changed, 5 insertions, 4 deletions
diff --git a/docs/ref/django-admin.txt b/docs/ref/django-admin.txt
index 66c721574b..b0393e35c2 100644
--- a/docs/ref/django-admin.txt
+++ b/docs/ref/django-admin.txt
@@ -737,10 +737,11 @@ The behavior of this command changes depending on the arguments provided:
* ``<app_label>``: The specified app has its migrations run, up to the most
recent migration. This may involve running other apps' migrations too, due
to dependencies.
-* ``<app_label> <migrationname>``: Brings the database schema to a state where it
- would have just run the given migration, but no further - this may involve
- unapplying migrations if you have previously migrated past the named
- migration. Use the name ``zero`` to unapply all migrations for an app.
+* ``<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 unapply all
+ migrations for an app.
Unlike ``syncdb``, this command does not prompt you to create a superuser if
one doesn't exist (assuming you are using :mod:`django.contrib.auth`). Use