summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorCorey Farwell <coreyf@rwell.org>2016-10-04 15:20:23 -0400
committerTim Graham <timograham@gmail.com>2016-10-04 18:59:41 -0400
commit26fd7121284a46ae497bc10cc37f9f068b3decd9 (patch)
tree0938eccf5ef5ea41a6329e3e51bce789a1d107a5 /docs
parent7652f97a5c5af3ed4b5d306e7a7d4db9df93ecf5 (diff)
[1.10.x] Documented render_to_string()'s `using` parameter.
Backport of 24da355686372f03ab48e2e916de48962fd7881f from master
Diffstat (limited to 'docs')
-rw-r--r--docs/topics/templates.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/topics/templates.txt b/docs/topics/templates.txt
index 197ffc1111..37d14c8e5b 100644
--- a/docs/topics/templates.txt
+++ b/docs/topics/templates.txt
@@ -256,6 +256,10 @@ 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.
+ ``using``
+ An optional template engine :setting:`NAME <TEMPLATES-NAME>`. The
+ search for the template will be restricted to that engine.
+
Usage example::
from django.template.loader import render_to_string