[1.10.x] Documented render_to_string()'s using
parameter.
Backport of 24da355686372f03ab48e2e916de48962fd7881f from master
This commit is contained in:
parent
7652f97a5c
commit
26fd712128
@ -256,6 +256,10 @@ templates, Django provides a shortcut function which automates the process.
|
|||||||
An optional :class:`~django.http.HttpRequest` that will be available
|
An optional :class:`~django.http.HttpRequest` that will be available
|
||||||
during the template's rendering process.
|
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::
|
Usage example::
|
||||||
|
|
||||||
from django.template.loader import render_to_string
|
from django.template.loader import render_to_string
|
||||||
|
Loading…
x
Reference in New Issue
Block a user