From ab2819aa7b09d36d9ff24830a9825aa52b87fdb4 Mon Sep 17 00:00:00 2001 From: Carl Meyer Date: Mon, 17 Nov 2014 10:13:47 -0700 Subject: Fixed #23410 -- Avoided unnecessary rollbacks in related apps when migrating backwards. --- docs/ref/django-admin.txt | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'docs/ref') 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: * ````: The specified app has its migrations run, up to the most recent migration. This may involve running other apps' migrations too, due to dependencies. -* `` ``: 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. +* `` ``: 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 -- cgit v1.3