Fixed #17037 -- Added a --all option to diffsettings.

This commit is contained in:
Aymeric Augustin 2013-03-17 20:48:30 +01:00
parent 68905695b8
commit 20a91cce04
4 changed files with 31 additions and 6 deletions

View file

@ -168,8 +168,11 @@ example, the default settings don't define :setting:`ROOT_URLCONF`, so
:setting:`ROOT_URLCONF` is followed by ``"###"`` in the output of
``diffsettings``.
Note that Django's default settings live in ``django/conf/global_settings.py``,
if you're ever curious to see the full list of defaults.
The :djadminopt:`--all` option may be provided to display all settings, even
if they have Django's default value. Such settings are prefixed by ``"###"``.
.. versionadded:: 1.6
The :djadminopt:`--all` option was added.
dumpdata <appname appname appname.Model ...>
--------------------------------------------