Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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
  • Loading branch information...
commit 6502965d171265e8ae8f1a76302e134eaad3e270 1 parent 1461a76
Adrian Holovaty authored January 10, 2010

Showing 1 changed file with 2 additions and 1 deletion. Show diff stats Hide diff stats

  1. 3  docs/ref/templates/api.txt
3  docs/ref/templates/api.txt
@@ -656,7 +656,8 @@ returns the resulting string::
656 656
 
657 657
 The ``render_to_string`` shortcut takes one required argument --
658 658
 ``template_name``, which should be the name of the template to load
659  
-and render -- and two optional arguments:
  659
+and render (or a list of template names, in which case Django will use
  660
+the first template in the list that exists) -- and two optional arguments:
660 661
 
661 662
     dictionary
662 663
         A dictionary to be used as variables and values for the

0 notes on commit 6502965

Please sign in to comment.
Something went wrong with that request. Please try again.