1
0
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:
Aymeric Augustin
2014-12-17 22:51:42 +01:00
parent cf0fd65ed4
commit d3205e3e2e
22 changed files with 182 additions and 94 deletions

View File

@@ -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()`