1
0
mirror of https://github.com/django/django.git synced 2025-04-12 11:32:20 +00:00

[1.10.x] Documented render_to_string()'s using parameter.

Backport of 24da355686372f03ab48e2e916de48962fd7881f from master
This commit is contained in:
Corey Farwell 2016-10-04 15:20:23 -04:00 committed by Tim Graham
parent 7652f97a5c
commit 26fd712128

View File

@ -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