Author: gabrielhurley Date: 2011-05-18 13:33:12 -0700 (Wed, 18 May 2011) New Revision: 16242
Modified: django/trunk/docs/topics/http/shortcuts.txt Log: Fixed #16036 -- corrected the argument name for render_to_response in the reference docs. Thanks to msabramo for the report. Modified: django/trunk/docs/topics/http/shortcuts.txt =================================================================== --- django/trunk/docs/topics/http/shortcuts.txt 2011-05-18 20:12:15 UTC (rev 16241) +++ django/trunk/docs/topics/http/shortcuts.txt 2011-05-18 20:33:12 UTC (rev 16242) @@ -89,7 +89,7 @@ ``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 @@ 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>` -- You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-updates@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.