mirror of
https://github.com/django/django.git
synced 2025-08-04 19:08:28 +00:00
Deprecated TEMPLATE_DEBUG setting.
This commit is contained in:
parent
9fbd302f91
commit
15b711b5ee
20 changed files with 72 additions and 48 deletions
|
@ -2250,6 +2250,11 @@ TEMPLATE_DEBUG
|
|||
|
||||
Default: ``False``
|
||||
|
||||
.. deprecated:: 1.8
|
||||
|
||||
Set the ``'debug'`` option in the :setting:`OPTIONS <TEMPLATES-OPTIONS>`
|
||||
of a ``DjangoTemplates`` backend instead.
|
||||
|
||||
A boolean that turns on/off template debug mode. If this is ``True``, the fancy
|
||||
error page will display a detailed report for any exception raised during
|
||||
template rendering. This report contains the relevant snippet of the template,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue