mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Deprecated TEMPLATE_DEBUG setting.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user