From 8b734d2f990063df2988143dfb5f4449b60b9ca3 Mon Sep 17 00:00:00 2001 From: Sebastian Spiegel Date: Sun, 6 Nov 2016 13:52:06 +0100 Subject: Fixed #27432 -- Made app_label arguments limit showmigrations --plan output. --- docs/ref/django-admin.txt | 10 ++++++++-- docs/releases/1.11.txt | 3 +++ 2 files changed, 11 insertions(+), 2 deletions(-) (limited to 'docs') diff --git a/docs/ref/django-admin.txt b/docs/ref/django-admin.txt index 7a77f4d1e7..47cff8e8c6 100644 --- a/docs/ref/django-admin.txt +++ b/docs/ref/django-admin.txt @@ -1015,11 +1015,17 @@ This is the default output format. .. django-admin-option:: --plan, -p -Shows the migration plan Django will follow to apply migrations. Any supplied -app labels are ignored because the plan might go beyond those apps. Like +Shows the migration plan Django will follow to apply migrations. Like ``--list``, applied migrations are marked by an ``[X]``. For a ``--verbosity`` of 2 and above, all dependencies of a migration will also be shown. +``app_label``\s arguments limit the output, however, dependencies of provided +apps may also be included. + +.. versionchanged:: 1.11 + + In older versions, ``showmigrations --plan`` ignores app labels. + .. django-admin-option:: --database DATABASE Specifies the database to examine. Defaults to ``default``. diff --git a/docs/releases/1.11.txt b/docs/releases/1.11.txt index abdfb08a27..a227b712ab 100644 --- a/docs/releases/1.11.txt +++ b/docs/releases/1.11.txt @@ -325,6 +325,9 @@ Management Commands * The new :option:`diffsettings --default` option allows specifying a settings module other than Django's default settings to compare against. +* ``app_label``\s arguments now limit the :option:`showmigrations --plan` + output. + Migrations ~~~~~~~~~~ -- cgit v1.3