From 0af93e108e3dc5e0216ab45cae2dec86ee750771 Mon Sep 17 00:00:00 2001 From: Timo Graham Date: Mon, 20 Feb 2012 19:08:56 +0000 Subject: [PATCH] [1.3.X] Fixed #16758 - Added a warning regarding overriding default settings; thanks cyclops for the suggestion & Aymeric Augustin for the patch. Backport of r17566 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@17567 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- docs/ref/settings.txt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/ref/settings.txt b/docs/ref/settings.txt index 1685379edf..24ccb5f949 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 ==================