From 4bf092f59aa133b5de70d14e4953e4bdd0140777 Mon Sep 17 00:00:00 2001 From: Matthijs Kooijman Date: Fri, 31 Oct 2008 10:07:07 +0100 Subject: [PATCH] Make the enabling of TEMPLATE_DEBUG more clear. TEMPLATE_DEBUG used to be initialized with the value of DEBUG in settings.py, which was confusing if you change the value of DEBUG in localsettings. --- localsettings.py.tmpl | 3 ++- settings.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/localsettings.py.tmpl b/localsettings.py.tmpl index bf3ddb1..58a4544 100644 --- a/localsettings.py.tmpl +++ b/localsettings.py.tmpl @@ -1,5 +1,6 @@ # Put any settings that are specific to this installation in here. # Any settings from settings.py can be overridden. -# For example, enable debugging by commenting in the following line. +# For example, enable debugging by commenting in the following lines. #DEBUG = True +#TEMPLATE_DEBUG = True diff --git a/settings.py b/settings.py index 655a769..e66d709 100644 --- a/settings.py +++ b/settings.py @@ -9,7 +9,7 @@ from dbsettings import * PROJECT_DIR = os.path.dirname(__file__) DEBUG = False -TEMPLATE_DEBUG = DEBUG +TEMPLATE_DEBUG = False ADMINS = ( # Server errors get sent here -- 2.30.2