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:15:05 -0700 |
| commit | 03e8c182888e27c7609cbc7705a46ab7b7107f12 (patch) | |
| tree | a9c78effed5de292233189e0d26ee2bdeb03c7f6 /docs | |
| parent | ac359dc7710ed8c62b6f058fe5a0ecfd6ce27602 (diff) | |
[1.7.x] Fixed #23410 -- Avoided unnecessary rollbacks in related apps when migrating backwards.
Backport of ab2819aa7b09d36d9ff24830a9825aa52b87fdb4 from master.
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 648de5f568..b21985f2ba 100644 --- a/docs/ref/django-admin.txt +++ b/docs/ref/django-admin.txt @@ -686,10 +686,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`). |
