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

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-upda...@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.


Reply via email to