1
0
mirror of https://github.com/django/django.git synced 2025-01-09 01:46:20 +00:00

Documented render_to_string()'s using parameter.

This commit is contained in:
Corey Farwell 2016-10-04 15:20:23 -04:00 committed by Tim Graham
parent 0083a4c8e9
commit 24da355686

View File

@ -252,6 +252,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