diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/django-admin.txt | 7 | ||||
| -rw-r--r-- | docs/releases/2.2.txt | 3 |
2 files changed, 9 insertions, 1 deletions
diff --git a/docs/ref/django-admin.txt b/docs/ref/django-admin.txt index 4916a8c623..408c39055e 100644 --- a/docs/ref/django-admin.txt +++ b/docs/ref/django-admin.txt @@ -804,6 +804,13 @@ option does not, however, check for matching database schema beyond matching table names and so is only safe to use if you are confident that your existing schema matches what is recorded in your initial migration. +.. django-admin-option:: --plan + +.. versionadded:: 2.2 + +Shows the migration operations that will be performed for the given ``migrate`` +command. + .. django-admin-option:: --run-syncdb Allows creating tables for apps without migrations. While this isn't diff --git a/docs/releases/2.2.txt b/docs/releases/2.2.txt index 13dac6bfec..742bc893e5 100644 --- a/docs/releases/2.2.txt +++ b/docs/releases/2.2.txt @@ -175,7 +175,8 @@ Management Commands Migrations ~~~~~~~~~~ -* ... +* The new :option:`migrate --plan` option prints the list of migration + operations that will be performed. Models ~~~~~~ |
