Opened 5 years ago

Closed 5 years ago

#21851 closed Bug (invalid)

TemplateResponse.status should be TemplateResponse.status_code in Django 1.6 documentation

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

Change History (1)

comment:1 Changed 5 years ago by Baptiste Mispelon

Resolution: invalid
Status: newclosed


While the attribute is called status_code, the argument's name for TemplateResponse.__init__ is actually status:

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