diff options
| author | Timo Graham <timograham@gmail.com> | 2010-12-04 20:21:49 +0000 |
|---|---|---|
| committer | Timo Graham <timograham@gmail.com> | 2010-12-04 20:21:49 +0000 |
| commit | ff76e2cde81d2ae6b7d74b27d83126809ff28099 (patch) | |
| tree | cbafc357b260fe463ac4e3847e4f872ba0bef431 /docs | |
| parent | d54d7a52a959611124a47b47864ca34f154d1853 (diff) | |
[1.2.X] Fixed #14811 - Add clarifying note to render_to_response - thanks adamv.
Backport of r14814 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14815 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/topics/http/shortcuts.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/topics/http/shortcuts.txt b/docs/topics/http/shortcuts.txt index 6bd3058941..851e63b4fa 100644 --- a/docs/topics/http/shortcuts.txt +++ b/docs/topics/http/shortcuts.txt @@ -24,7 +24,10 @@ Required arguments ------------------ ``template`` - The full name of a template to use or sequence of template names. + The full name of a template to use or sequence of template names. If a + sequence is given, the first template that exists will be used. See the + :ref:`template loader documentation <ref-templates-api-the-python-api>` + for more information on how templates are found. Optional arguments ------------------ @@ -47,9 +50,6 @@ Optional arguments context_instance=RequestContext(request)) ``mimetype`` - - .. versionadded:: 1.0 - The MIME type to use for the resulting document. Defaults to the value of the :setting:`DEFAULT_CONTENT_TYPE` setting. |
