#10588 closed (duplicate)
pass status parameter through render_to_response
| Reported by: | Mike Lundy | Owned by: | ccahoon |
|---|---|---|---|
| Component: | HTTP handling | Version: | dev |
| Severity: | Keywords: | ||
| Cc: | Triage Stage: | Someday/Maybe | |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
This makes it so render_to_response can be used to render custom error pages (by setting status=404, etc).
Attachments (1)
Change History (7)
by , 17 years ago
| Attachment: | 0001-pass-render_to_response-status-param-through-to-Http.patch added |
|---|
comment:1 by , 17 years ago
| Component: | Uncategorized → HTTP handling |
|---|---|
| milestone: | → 1.2 |
| Triage Stage: | Unreviewed → Design decision needed |
comment:2 by , 16 years ago
| Owner: | changed from to |
|---|
comment:3 by , 16 years ago
comment:4 by , 16 years ago
| Triage Stage: | Design decision needed → Someday/Maybe |
|---|
comment:5 by , 16 years ago
| Resolution: | → duplicate |
|---|---|
| Status: | new → closed |
Actually, I am going to say this is a duplicate of #9081, because they cover the same issue: if and how we should expand render_to_response to allow customization of the HttpResponse.
Note:
See TracTickets
for help on using tickets.
This duplicates behavior in several other tickets, including #9081 which covers this case and many others. I reassigned to myself because this patch has some good additional tests that could be incorporated into the broader solution.