[Changeset] r12161 - django/trunk/docs/ref/templates

0 views
Skip to first unread message

nor...@djangoproject.com

unread,
Jan 10, 2010, 12:22:30 PM1/10/10
to django-...@googlegroups.com
Author: adrian
Date: 2010-01-10 11:22:30 -0600 (Sun, 10 Jan 2010)
New Revision: 12161

Modified:
django/trunk/docs/ref/templates/api.txt
Log:
Fixed #10800 -- Made a small improvement to render_to_string() docs. Thanks, p.pa...@iperbole.bologna.it and timo

Modified: django/trunk/docs/ref/templates/api.txt
===================================================================
--- django/trunk/docs/ref/templates/api.txt 2010-01-10 17:21:52 UTC (rev 12160)
+++ django/trunk/docs/ref/templates/api.txt 2010-01-10 17:22:30 UTC (rev 12161)
@@ -656,7 +656,8 @@

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

Reply all
Reply to author
Forward
0 new messages