1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

Added docs for new template loader api.

Refs #15053.
This commit is contained in:
Preston Timmons
2015-03-22 19:22:38 -05:00
parent 65a7a0d9ee
commit 8ae04e7630
3 changed files with 142 additions and 30 deletions

View File

@@ -44,8 +44,8 @@ details on these changes.
* ``django.template.loaders.base.Loader.supports_recursion()``
* ``django.template.loaders.cached.Loader.supports_recursion()``
* The ``load_template and ``load_template_sources`` template loader methods
will be removed.
* The ``load_template()`` and ``load_template_sources()`` template loader
methods will be removed.
* The ``template_dirs`` argument for template loaders will be removed:
@@ -55,7 +55,8 @@ details on these changes.
* ``django.template.loaders.cached.Loader.get_template_sources()``
* ``django.template.loaders.filesystem.Loader.get_template_sources()``
* The ``django.template.loaders.base.Loader.__call__`` method will be removed.
* The ``django.template.loaders.base.Loader.__call__()`` method will be
removed.
.. _deprecation-removed-in-2.0: