Fixed #22675 -- makemigrations --dry-run to output migrations to stdout.

`makemigrations --dry-run` will output the complete migrations file
that would be written if it's used along with `--verbosity 3`.
This commit is contained in:
Moayad Mardini 2014-05-26 23:09:17 +03:00
parent b625e861e5
commit 2e613ea5c5
3 changed files with 41 additions and 2 deletions

View file

@ -663,7 +663,9 @@ your migrations.
.. django-admin-option:: --dry-run
The ``--dry-run`` option shows what migrations would be made without
actually writing any migrations files to disk.
actually writing any migrations files to disk. Using this option along with
``--verbosity 3`` will also show the complete migrations files that would be
written.
.. django-admin-option:: --merge