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

Supported multiple template engines in render_to_string.

Adjusted its API through a deprecation path according to the DEP.
This commit is contained in:
Aymeric Augustin
2014-11-28 23:50:34 +01:00
parent f9a6ebf6f5
commit 90805b240f
7 changed files with 146 additions and 27 deletions

View File

@@ -88,6 +88,11 @@ details on these changes.
* The backwards compatibility alias ``django.template.loader.BaseLoader`` will
be removed.
* The ``dictionary`` and ``context_instance`` parameters for the following
functions will be removed:
* ``django.template.loader.render_to_string()``
* The ``dirs`` parameter for the following functions will be removed:
* ``django.template.loader.get_template()``