Kaydet (Commit) 6502965d authored tarafından Adrian Holovaty's avatar Adrian Holovaty

Fixed #10800 -- Made a small improvement to render_to_string() docs. Thanks,…

Fixed #10800 -- Made a small improvement to render_to_string() docs. Thanks, p.patruno@iperbole.bologna.it and timo

git-svn-id: http://code.djangoproject.com/svn/django/trunk@12161 bcc190cf-cafb-0310-a4f2-bffc1f526a37
üst 1461a76f
......@@ -656,7 +656,8 @@ returns the resulting string::
The ``render_to_string`` shortcut takes one required argument --
``template_name``, which should be the name of the template to load
and render -- and two optional arguments:
and render (or a list of template names, in which case Django will use
the first template in the list that exists) -- and two optional arguments:
dictionary
A dictionary to be used as variables and values for the
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment