summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorCalvin DeBoer <cdeboer@horizoninvestments.com>2018-05-19 11:38:02 -0400
committerTim Graham <timograham@gmail.com>2018-08-03 15:22:42 -0400
commit058d33f3eddef950e4266ea942d39b1df95ee5de (patch)
tree2fa903a5f7048153a0e78696a1dda71a2a04a363 /docs
parent1160a975968f86953a6c4405b772eb86283c5a4a (diff)
Fixed #29198 -- Added migrate --plan option.
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/django-admin.txt7
-rw-r--r--docs/releases/2.2.txt3
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
~~~~~~