mirror of
https://github.com/django/django.git
synced 2025-07-23 21:25:40 +00:00
[1.10.x] Documented render_to_string()'s using
parameter.
Backport of 24da355686
from master
This commit is contained in:
parent
7652f97a5c
commit
26fd712128
1 changed files with 4 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue