mirror of
https://github.com/django/django.git
synced 2025-05-28 17:56:29 +00:00
Fixed #22692 -- Added docs for makemigrations
two command options.
Added documentation about `--dry-run` and `--merge`.
This commit is contained in:
parent
83f4e86595
commit
e98d303562
@ -660,6 +660,15 @@ for advanced users and should not be used unless you are familiar with
|
|||||||
the migration format, migration operations, and the dependencies between
|
the migration format, migration operations, and the dependencies between
|
||||||
your migrations.
|
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.
|
||||||
|
|
||||||
|
.. django-admin-option:: --merge
|
||||||
|
|
||||||
|
The ``--merge`` option enables fixing of migration conflicts.
|
||||||
|
|
||||||
migrate [<app_label> [<migrationname>]]
|
migrate [<app_label> [<migrationname>]]
|
||||||
---------------------------------------
|
---------------------------------------
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user