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
This commit is contained in:
parent
840530cc55
commit
9f02d80b58
|
@ -89,7 +89,7 @@ This example is equivalent to::
|
||||||
``render_to_response``
|
``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
|
Renders a given template with a given context dictionary and returns an
|
||||||
:class:`~django.http.HttpResponse` object with that rendered text.
|
:class:`~django.http.HttpResponse` object with that rendered text.
|
||||||
|
@ -97,7 +97,7 @@ This example is equivalent to::
|
||||||
Required arguments
|
Required arguments
|
||||||
------------------
|
------------------
|
||||||
|
|
||||||
``template``
|
``template_name``
|
||||||
The full name of a template to use or sequence of template names. If a
|
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
|
sequence is given, the first template that exists will be used. See the
|
||||||
:ref:`template loader documentation <ref-templates-api-the-python-api>`
|
:ref:`template loader documentation <ref-templates-api-the-python-api>`
|
||||||
|
|
Loading…
Reference in New Issue