From: Matthijs Kooijman Date: Fri, 31 Oct 2008 09:07:07 +0000 (+0100) Subject: Make the enabling of TEMPLATE_DEBUG more clear. X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=4bf092f59aa133b5de70d14e4953e4bdd0140777;p=matthijs%2Fprojects%2Fxerxes.git 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. --- 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