diff options
| author | Adrian Holovaty <adrian@holovaty.com> | 2010-01-10 17:22:30 +0000 |
|---|---|---|
| committer | Adrian Holovaty <adrian@holovaty.com> | 2010-01-10 17:22:30 +0000 |
| commit | 6502965d171265e8ae8f1a76302e134eaad3e270 (patch) | |
| tree | 752b82e21936ed584ed6cd5f9f0dabcf58ab82a7 /docs/ref/templates/api.txt | |
| parent | 1461a76fdd3540e37122131f15a58520dce438ca (diff) | |
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
Diffstat (limited to 'docs/ref/templates/api.txt')
| -rw-r--r-- | docs/ref/templates/api.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/ref/templates/api.txt b/docs/ref/templates/api.txt index 6131b247c1..7582f8b435 100644 --- a/docs/ref/templates/api.txt +++ b/docs/ref/templates/api.txt @@ -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 |
