mirror of
https://github.com/django/django.git
synced 2025-07-24 05:36:15 +00:00
Fixed #27432 -- Made app_label arguments limit showmigrations --plan output.
This commit is contained in:
parent
d976760260
commit
8b734d2f99
5 changed files with 121 additions and 12 deletions
|
@ -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``.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue