summaryrefslogtreecommitdiff
path: root/docs/topics/templates.txt
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2015-09-12 16:27:30 -0400
committerTim Graham <timograham@gmail.com>2015-09-23 19:31:11 -0400
commit54848a96dd4a196e81f3d71c61caf84ea8b49f4e (patch)
tree0fe3e51fc3f783adc69c46bb0313514f207f71ab /docs/topics/templates.txt
parent48e7787db599b0103daf70f0ff4968d90b8540aa (diff)
Removed versionadded/changed annotations for 1.8.
Diffstat (limited to 'docs/topics/templates.txt')
-rw-r--r--docs/topics/templates.txt27
1 files changed, 0 insertions, 27 deletions
diff --git a/docs/topics/templates.txt b/docs/topics/templates.txt
index af165b7052..f0abccc835 100644
--- a/docs/topics/templates.txt
+++ b/docs/topics/templates.txt
@@ -41,11 +41,6 @@ namespace.
Support for template engines
============================
-.. versionadded:: 1.8
-
- Support for multiple template engines and the :setting:`TEMPLATES` setting
- were added in Django 1.8.
-
Configuration
-------------
@@ -115,30 +110,12 @@ The ``django.template.loader`` module defines two functions to load templates.
If you want to restrict the search to a particular template engine, pass
the engine's :setting:`NAME <TEMPLATES-NAME>` in the ``using`` argument.
- .. versionchanged:: 1.8
-
- The ``using`` parameter was added.
-
- .. versionchanged:: 1.8
-
- ``get_template()`` returns a backend-dependent ``Template`` instead
- of a :class:`django.template.Template`.
-
.. function:: select_template(template_name_list, using=None)
``select_template()`` is just like ``get_template()``, except it takes a
list of template names. It tries each name in order and returns the first
template that exists.
- .. versionchanged:: 1.8
-
- The ``using`` parameter was added.
-
- .. versionchanged:: 1.8
-
- ``select_template()`` returns a backend-dependent ``Template`` instead
- of a :class:`django.template.Template`.
-
.. currentmodule:: django.template
If loading a template fails, the following two exceptions, defined in
@@ -279,10 +256,6 @@ templates, Django provides a shortcut function which automates the process.
An optional :class:`~django.http.HttpRequest` that will be available
during the template's rendering process.
- .. versionadded:: 1.8
-
- The ``request`` argument was added.
-
See also the :func:`~django.shortcuts.render()` and
:func:`~django.shortcuts.render_to_response()` shortcuts, which call
:func:`render_to_string()` and feed the result into an