summaryrefslogtreecommitdiff
path: root/docs/ref/templates
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2016-12-30 20:09:26 -0500
committerTim Graham <timograham@gmail.com>2017-01-17 20:52:00 -0500
commit5d8da093a974f41e08573bbe0d32d5ffeaadd0ad (patch)
tree00b3a15d98347e6a7a8e5cf1efc1b59d53464843 /docs/ref/templates
parent56a5760543f0428346a45f5efcffacf8caedd744 (diff)
Refs #15053 -- Removed support for non-recursive template loading.
Per deprecation timeline.
Diffstat (limited to 'docs/ref/templates')
-rw-r--r--docs/ref/templates/api.txt31
1 files changed, 0 insertions, 31 deletions
diff --git a/docs/ref/templates/api.txt b/docs/ref/templates/api.txt
index 2057c370f3..305945a856 100644
--- a/docs/ref/templates/api.txt
+++ b/docs/ref/templates/api.txt
@@ -1057,37 +1057,6 @@ Loader methods
:meth:`get_contents` for custom template loaders. ``get_template()``
will usually not need to be overridden.
- .. method:: load_template_source(template_name, template_dirs=None)
-
- Returns a tuple of (``template_string``, ``template_origin``), where
- ``template_string`` is a string containing the template contents,
- and ``template_origin`` is a string identifying the template source.
- A filesystem-based loader may return the full path to the file as the
- ``template_origin``, for example.
-
- ``template_dirs`` is an optional argument used to control which
- directories the loader will search.
-
- This method is called automatically by :meth:`load_template` and should
- be overridden when writing custom template loaders.
-
- .. deprecated:: 1.9
-
- Custom loaders should use :meth:`get_template` and
- :meth:`get_contents` instead.
-
- .. method:: load_template(template_name, template_dirs=None)
-
- Returns a tuple of (``template``, ``template_origin``), where ``template``
- is a ``Template`` object and ``template_origin`` is a string identifying
- the template source. A filesystem-based loader may return the full
- path to the file as the ``template_origin``, for example.
-
- .. deprecated:: 1.9
-
- Custom loaders should use :meth:`get_template` and
- :meth:`get_contents` instead.
-
.. admonition:: Building your own
For examples, `read the source code for Django's built-in loaders`_.