Instead of ignoring any supplied `app_label`s, it would make more sense to
behave as `migrate` does, providing a preview for a probable migration
plan.
--
Ticket URL: <https://code.djangoproject.com/ticket/27432>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* owner: nobody => Sebastian Spiegel
* status: new => assigned
--
Ticket URL: <https://code.djangoproject.com/ticket/27432#comment:1>
* type: Uncategorized => New feature
* component: Uncategorized => Core (Management commands)
* stage: Unreviewed => Accepted
Comment:
Though documentation is explaining why `--plan` is ignoring `app_label`s:
Any supplied app labels are ignored because the plan might go beyond
those apps.
(https://docs.djangoproject.com/en/1.10/ref/django-admin/#django-admin-
showmigrations)
I agree with the reporter that `showmigrations --plan` should support app
labels. It would make it behave analogously to `migrate app_label`.
--
Ticket URL: <https://code.djangoproject.com/ticket/27432#comment:2>
* has_patch: 0 => 1
Comment:
[https://github.com/django/django/pull/7522 PR] ready, all tests pass
under SQLite.
--
Ticket URL: <https://code.djangoproject.com/ticket/27432#comment:3>
* needs_better_patch: 0 => 1
* version: 1.10 => master
--
Ticket URL: <https://code.djangoproject.com/ticket/27432#comment:4>
* needs_better_patch: 1 => 0
--
Ticket URL: <https://code.djangoproject.com/ticket/27432#comment:5>
Comment (by Sebastian Spiegel):
I've pushed requested improvements to the
[https://github.com/django/django/pull/7522 PR]
--
Ticket URL: <https://code.djangoproject.com/ticket/27432#comment:6>
* status: assigned => new
* owner: Sebastian Spiegel => (none)
--
Ticket URL: <https://code.djangoproject.com/ticket/27432#comment:7>
* stage: Accepted => Ready for checkin
--
Ticket URL: <https://code.djangoproject.com/ticket/27432#comment:8>
* owner: (none) => Tim Graham <timograham@…>
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"8b734d2f990063df2988143dfb5f4449b60b9ca3" 8b734d2f]:
{{{
#!CommitTicketReference repository=""
revision="8b734d2f990063df2988143dfb5f4449b60b9ca3"
Fixed #27432 -- Made app_label arguments limit showmigrations --plan
output.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/27432#comment:9>
Comment (by Tim Graham <timograham@…>):
In [changeset:"9932e1bf52a8167af1bfce0db56e68ca60255814" 9932e1bf]:
{{{
#!CommitTicketReference repository=""
revision="9932e1bf52a8167af1bfce0db56e68ca60255814"
Fixed test isolation in a couple migrations tests.
Without this, tests from refs #27432 fail when running with --reverse.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/27432#comment:10>