summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2014-11-24 09:17:57 -0500
committerTim Graham <timograham@gmail.com>2014-11-24 09:17:57 -0500
commit94e2d3913d993259162b47d50ac2ab754a812f42 (patch)
tree8af3a25ef188ac4099c5a640db934cdf44838874 /docs
parent8bb9e7c9992703eae3a7edec09b7b7773b4c216e (diff)
Added deprecation of template dirs parameter to timeline.
Diffstat (limited to 'docs')
-rw-r--r--docs/internals/deprecation.txt13
-rw-r--r--docs/releases/1.8.txt7
2 files changed, 15 insertions, 5 deletions
diff --git a/docs/internals/deprecation.txt b/docs/internals/deprecation.txt
index 2a1839ba13..1f4aca4cf3 100644
--- a/docs/internals/deprecation.txt
+++ b/docs/internals/deprecation.txt
@@ -51,9 +51,9 @@ details on these changes.
* The following methods and properties of ``django.db.sql.query.Query`` will
be removed:
- * Properties: ``aggregates`` and ``aggregate_select``
- * Methods: ``add_aggregate``, ``set_aggregate_mask``, and
- ``append_aggregate_mask``.
+ * Properties: ``aggregates`` and ``aggregate_select``
+ * Methods: ``add_aggregate``, ``set_aggregate_mask``, and
+ ``append_aggregate_mask``.
* ``django.template.resolve_variable`` will be removed.
@@ -88,6 +88,13 @@ details on these changes.
* The backwards compatibility alias ``django.template.loader.BaseLoader`` will
be removed.
+* The ``dirs`` parameter for the following functions will be removed:
+
+ * ``django.template.loader.get_template()``
+ * ``django.template.loader.select_template()``
+ * ``django.shortcuts.render()``
+ * ``django.shortcuts.render_to_response()``
+
.. _deprecation-removed-in-1.9:
1.9
diff --git a/docs/releases/1.8.txt b/docs/releases/1.8.txt
index 911d3d63a3..867f021b6a 100644
--- a/docs/releases/1.8.txt
+++ b/docs/releases/1.8.txt
@@ -1058,14 +1058,17 @@ now optional.
``dirs`` argument of template-finding functions
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-The following functions no longer accept a ``dirs`` parameter to override
-:setting:`TEMPLATE_DIRS`:
+The following functions will no longer accept a ``dirs`` parameter to override
+:setting:`TEMPLATE_DIRS` in Django 2.0:
* :func:`django.template.loader.get_template()`
* :func:`django.template.loader.select_template()`
* :func:`django.shortcuts.render()`
* :func:`django.shortcuts.render_to_response()`
+The parameter didn't work consistently across different template loaders and
+didn't work for included templates.
+
``django.template.loader.BaseLoader``
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~