Browse files

Fixed #16036 -- corrected the argument name for render_to_response in…

… the reference docs. Thanks to msabramo for the report.

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
Gabriel Hurley
Gabriel Hurley committed May 18, 2011
1 parent 840530c commit 9f02d80b580a4c8a9fe951c0ea3e6f82fb1cde03
Showing with 2 additions and 2 deletions.
  1. +2 −2 docs/topics/http/shortcuts.txt
@@ -89,15 +89,15 @@ This example is equivalent to::
-.. 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.
Required arguments
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>`

0 comments on commit 9f02d80

Please sign in to comment.