mirror of
https://github.com/django/django.git
synced 2025-08-04 02:48:35 +00:00
Fixed #27881 -- Added diffsettings --output option.
Thanks Haris Ibrahim K. V. for writng docs.
This commit is contained in:
parent
af1fa5e7da
commit
2f09a28558
4 changed files with 74 additions and 5 deletions
|
@ -240,6 +240,16 @@ are prefixed by ``"###"``.
|
|||
The settings module to compare the current settings against. Leave empty to
|
||||
compare against Django's default settings.
|
||||
|
||||
.. django-admin-option:: --output {hash,unified}
|
||||
|
||||
.. versionadded:: 2.0
|
||||
|
||||
Specifies the output format. Available values are ``hash`` and ``unified``.
|
||||
``hash`` is the default mode that displays the output that's described above.
|
||||
``unified`` displays the output similar to ``diff -u``. Default settings are
|
||||
prefixed with a minus sign, followed by the changed setting prefixed with a
|
||||
plus sign.
|
||||
|
||||
``dumpdata``
|
||||
------------
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue