summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorTimo Graham <timograham@gmail.com>2012-02-20 19:08:22 +0000
committerTimo Graham <timograham@gmail.com>2012-02-20 19:08:22 +0000
commit7d7d2d354c6670b645a14a7bd941c5f2cac79063 (patch)
tree4ed69a7cc90d433cdc93eaf70a16262bae9a4b2d /docs
parent9e62428c2814358350ae715f0d51b4c7d4f258a0 (diff)
Fixed #16758 - Added a warning regarding overriding default settings; thanks cyclops for the suggestion & Aymeric Augustin for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17566 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/settings.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/ref/settings.txt b/docs/ref/settings.txt
index cbe5606a76..18b407a58e 100644
--- a/docs/ref/settings.txt
+++ b/docs/ref/settings.txt
@@ -6,6 +6,13 @@ Settings
:local:
:depth: 1
+.. warning::
+
+ Be careful when you override settings, especially when the default value
+ is a non-empty tuple or dict, like :setting:`MIDDLEWARE_CLASSES` and
+ :setting:`TEMPLATE_CONTEXT_PROCESSORS`. Make sure you keep the components
+ required by the features of Django you wish to use.
+
Available settings
==================