Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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
  • Loading branch information...
commit 9f02d80b580a4c8a9fe951c0ea3e6f82fb1cde03 1 parent 840530c
authored May 18, 2011

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

  1. 4  docs/topics/http/shortcuts.txt
4  docs/topics/http/shortcuts.txt
@@ -89,7 +89,7 @@ This example is equivalent to::
89 89
 ``render_to_response``
90 90
 ======================
91 91
 
92  
-.. function:: render_to_response(template[, dictionary][, context_instance][, mimetype])
  92
+.. function:: render_to_response(template_name[, dictionary][, context_instance][, mimetype])
93 93
 
94 94
    Renders a given template with a given context dictionary and returns an
95 95
    :class:`~django.http.HttpResponse` object with that rendered text.
@@ -97,7 +97,7 @@ This example is equivalent to::
97 97
 Required arguments
98 98
 ------------------
99 99
 
100  
-``template``
  100
+``template_name``
101 101
     The full name of a template to use or sequence of template names. If a
102 102
     sequence is given, the first template that exists will be used. See the
103 103
     :ref:`template loader documentation <ref-templates-api-the-python-api>`

0 notes on commit 9f02d80

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