From 26fd7121284a46ae497bc10cc37f9f068b3decd9 Mon Sep 17 00:00:00 2001 From: Corey Farwell Date: Tue, 4 Oct 2016 15:20:23 -0400 Subject: [PATCH] [1.10.x] Documented render_to_string()'s `using` parameter. Backport of 24da355686372f03ab48e2e916de48962fd7881f from master --- docs/topics/templates.txt | 4 ++++ 1 file changed, 4 insertions(+) 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 `. The + search for the template will be restricted to that engine. + Usage example:: from django.template.loader import render_to_string