summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorGabriel Hurley <gabehr@gmail.com>2011-05-18 20:33:12 +0000
committerGabriel Hurley <gabehr@gmail.com>2011-05-18 20:33:12 +0000
commit9f02d80b580a4c8a9fe951c0ea3e6f82fb1cde03 (patch)
tree66c59872d6474ac878aba4d599d343771a00b31c /docs
parent840530cc55e0dedd637f81738ed8f9c27baba467 (diff)
Fixed #16036 -- corrected the argument name for render_to_response in the reference docs. Thanks to msabramo for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16242 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
-rw-r--r--docs/topics/http/shortcuts.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/topics/http/shortcuts.txt b/docs/topics/http/shortcuts.txt
index 37ec98e165..3a43fe12fb 100644
--- a/docs/topics/http/shortcuts.txt
+++ b/docs/topics/http/shortcuts.txt
@@ -89,7 +89,7 @@ This example is equivalent to::
``render_to_response``
======================
-.. function:: render_to_response(template[, dictionary][, context_instance][, mimetype])
+.. function:: render_to_response(template_name[, dictionary][, context_instance][, mimetype])
Renders a given template with a given context dictionary and returns an
:class:`~django.http.HttpResponse` object with that rendered text.
@@ -97,7 +97,7 @@ This example is equivalent to::
Required arguments
------------------
-``template``
+``template_name``
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>`