diff options
| author | Carl Meyer <carl@oddbird.net> | 2014-11-17 10:13:47 -0700 |
|---|---|---|
| committer | Carl Meyer <carl@oddbird.net> | 2014-11-19 16:11:44 -0700 |
| commit | ab2819aa7b09d36d9ff24830a9825aa52b87fdb4 (patch) | |
| tree | d777e7da6e47f79a75fd4c56262a0bd6811b942f /docs | |
| parent | e7b9a58b081299b30f807d5c66f7a5d1940efe4c (diff) | |
Fixed #23410 -- Avoided unnecessary rollbacks in related apps when migrating backwards.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/django-admin.txt | 9 | ||||
| -rw-r--r-- | docs/releases/1.7.2.txt | 3 |
2 files changed, 8 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 diff --git a/docs/releases/1.7.2.txt b/docs/releases/1.7.2.txt index 4955f30946..8af832d1a5 100644 --- a/docs/releases/1.7.2.txt +++ b/docs/releases/1.7.2.txt @@ -68,3 +68,6 @@ Bugfixes * Made :class:`~django.db.migrations.operations.RenameModel` reversible (:ticket:`22248`) + +* Avoided unnecessary rollbacks of migrations from other apps when migrating + backwards (:ticket:`23410`). |
