mirror of
https://github.com/django/django.git
synced 2025-11-07 07:15:35 +00:00
Deprecated TEMPLATE_DIRS.
This commit is contained in:
@@ -1021,6 +1021,7 @@ As a consequence of the multiple template engines refactor, several settings
|
||||
are deprecated in favor of :setting:`TEMPLATES`:
|
||||
|
||||
* ``ALLOWED_INCLUDE_ROOTS``
|
||||
* ``TEMPLATE_DIRS``
|
||||
* ``TEMPLATE_LOADERS``
|
||||
* ``TEMPLATE_STRING_IF_INVALID``
|
||||
|
||||
@@ -1249,7 +1250,7 @@ templates through the ``context`` dict.
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
The following functions will no longer accept a ``dirs`` parameter to override
|
||||
:setting:`TEMPLATE_DIRS` in Django 2.0:
|
||||
``TEMPLATE_DIRS`` in Django 2.0:
|
||||
|
||||
* :func:`django.template.loader.get_template()`
|
||||
* :func:`django.template.loader.select_template()`
|
||||
|
||||
Reference in New Issue
Block a user