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)
Change History (5)
comment:1 by , 15 years ago
Component: | Uncategorized → Documentation |
---|
comment:2 by , 15 years ago
Has patch: | set |
---|
comment:3 by , 15 years ago
Triage Stage: | Unreviewed → Ready for checkin |
---|
comment:4 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
It looks to me like status is the paramter to the
__init__
method ofHttpReponse
, while the actual attribute isstatus_code
. However in the documentation page you referenced I don't see a reference to astatus
attribute, only thestatus
parameter.