mirror of
https://github.com/django/django.git
synced 2025-07-24 13:44:32 +00:00
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:
parent
b625e861e5
commit
2e613ea5c5
3 changed files with 41 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue