From 058d33f3eddef950e4266ea942d39b1df95ee5de Mon Sep 17 00:00:00 2001 From: Calvin DeBoer Date: Sat, 19 May 2018 11:38:02 -0400 Subject: Fixed #29198 -- Added migrate --plan option. --- docs/ref/django-admin.txt | 7 +++++++ docs/releases/2.2.txt | 3 ++- 2 files changed, 9 insertions(+), 1 deletion(-) (limited to 'docs') 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 ~~~~~~ -- cgit v1.3