mirror of
https://github.com/django/django.git
synced 2025-08-03 10:34:04 +00:00
Deprecated TEMPLATE_DEBUG setting.
This commit is contained in:
parent
9fbd302f91
commit
15b711b5ee
20 changed files with 72 additions and 48 deletions
|
@ -188,7 +188,7 @@ Example::
|
|||
|
||||
from django.conf import settings
|
||||
|
||||
settings.configure(DEBUG=True, TEMPLATE_DEBUG=True)
|
||||
settings.configure(DEBUG=True)
|
||||
|
||||
Pass ``configure()`` as many keyword arguments as you'd like, with each keyword
|
||||
argument representing a setting and its value. Each argument name should be all
|
||||
|
|
|
@ -356,9 +356,7 @@ applications. This generic name was kept for backwards-compatibility.
|
|||
exception raised during template rendering. This report contains the
|
||||
relevant snippet of the template with the appropriate line highlighted.
|
||||
|
||||
It defaults to the value of the :setting:`TEMPLATE_DEBUG` setting. The
|
||||
setting is convenient for toggling template debug mode globally rather than
|
||||
on a per-engine basis.
|
||||
It defaults to the value of the :setting:`DEBUG` setting.
|
||||
|
||||
* ``'loaders'``: a list of dotted Python paths to template loader classes.
|
||||
Each ``Loader`` class knows how to import templates from a particular
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue