Opened 14 years ago

Closed 14 years ago

#16036 closed Bug (fixed)

render_to_response lists the wrong argument name

Reported by: msabramo Owned by: nobody
Component: Documentation Version: 1.3
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no

Description

Very minor. And very easy to fix.

http://docs.djangoproject.com/en/1.3/topics/http/shortcuts/#django.shortcuts.render_to_response

says that the first argument is template, but it is actually template_name

Change History (2)

comment:1 by Julien Phalip, 14 years ago

Triage Stage: UnreviewedAccepted

Yes, this would be a minor improvement. Remember to modify both the "template" argument in the function signature and the "template" title under "Required arguments".

comment:2 by Gabriel Hurley, 14 years ago

Resolution: fixed
Status: newclosed

In [16242]:

Fixed #16036 -- corrected the argument name for render_to_response in the reference docs. Thanks to msabramo for the report.

Note: See TracTickets for help on using tickets.
Back to Top