From d1d6109229b4c103da682d4aa8bcac930c07da0b Mon Sep 17 00:00:00 2001 From: Carl Meyer Date: Fri, 16 Sep 2011 17:07:19 +0000 Subject: Added release note and updated TEMPLATE_DEBUG documentation for r16833. Thanks jezdez for the reminder. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16841 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- docs/ref/settings.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'docs/ref') diff --git a/docs/ref/settings.txt b/docs/ref/settings.txt index f23a187bf2..781c231354 100644 --- a/docs/ref/settings.txt +++ b/docs/ref/settings.txt @@ -1836,9 +1836,9 @@ TEMPLATE_DEBUG Default: ``False`` A boolean that turns on/off template debug mode. If this is ``True``, the fancy -error page will display a detailed report for any ``TemplateSyntaxError``. This -report contains the relevant snippet of the template, with the appropriate line -highlighted. +error page will display a detailed report for any exception raised during +template rendering. This report contains the relevant snippet of the template, +with the appropriate line highlighted. Note that Django only displays fancy error pages if :setting:`DEBUG` is ``True``, so you'll want to set that to take advantage of this setting. -- cgit v1.3