Opened 15 years ago

Closed 15 years ago

#11952 closed (fixed)

HttpResponse Attribute docs refer to "status" when should be "status_code"

Reported by: pjs Owned by: nobody
Component: Documentation Version: 1.1
Severity: Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Docs here:

http://docs.djangoproject.com/en/dev/ref/request-response/#id2

HttpResponse Attribute docs refer to "status" attribute when should be "status_code"

I tested this as of REV # 11594

Peter

Attachments (1)

11952.diff (443 bytes ) - added by Tim Graham 15 years ago.
document status_code attribute

Download all attachments as: .zip

Change History (5)

comment:1 by Tim Graham, 15 years ago

Component: UncategorizedDocumentation

It looks to me like status is the paramter to the __init__ method of HttpReponse, while the actual attribute is status_code. However in the documentation page you referenced I don't see a reference to a status attribute, only the status parameter.

by Tim Graham, 15 years ago

Attachment: 11952.diff added

document status_code attribute

comment:2 by Tim Graham, 15 years ago

Has patch: set

comment:3 by Tim Graham, 15 years ago

Triage Stage: UnreviewedReady for checkin

comment:4 by Adrian Holovaty, 15 years ago

Resolution: fixed
Status: newclosed

(In [12187]) Fixed #11952 -- Documented HttpResponse.status_code attribute. Thanks, timo

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