diff options
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/settings.txt | 6 |
1 files changed, 3 insertions, 3 deletions
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. |
