Code

Opened 3 years ago

Closed 3 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:

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

Attachments (0)

Change History (2)

comment:1 Changed 3 years ago by julien

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Accepted

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 Changed 3 years ago by gabrielhurley

  • Resolution set to fixed
  • Status changed from new to closed

In [16242]:

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

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.