Opened 17 years ago
Closed 17 years ago
#5013 closed (fixed)
Inaccurate middleware documentation for process_request and process_view
Reported by: | Owned by: | nobody | |
---|---|---|---|
Component: | Documentation | Version: | dev |
Severity: | Keywords: | process_request middleware | |
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
The documentation states: "If it returns an HttpResponse object, Django won’t bother calling ANY other middleware or the appropriate view; it’ll return that HttpResponse.", but this is only true for any request, view, or exception middleware method. The remaining response middleware methods are still executed on the returned HttpResponse object.
Attachments (1)
Change History (5)
comment:1 by , 17 years ago
Needs documentation: | set |
---|---|
Summary: | Django Middleware documentation for process_request → Inaccurate middleware documentation for process_request |
Triage Stage: | Unreviewed → Accepted |
by , 17 years ago
Attachment: | middleware-txt.diff added |
---|
comment:2 by , 17 years ago
Has patch: | set |
---|---|
Summary: | Inaccurate middleware documentation for process_request → Inaccurate middleware documentation for process_request and process_view |
Added patch -- I noticed the same thing for the process_view documentation.
comment:3 by , 17 years ago
Needs documentation: | unset |
---|---|
Triage Stage: | Accepted → Ready for checkin |
Thanks Jason
comment:4 by , 17 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Patches always welcome ;)