Opened 14 years ago

Closed 14 years ago

Last modified 11 years ago

#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


This makes it so render_to_response can be used to render custom error pages (by setting status=404, etc).

Attachments (1)

0001-pass-render_to_response-status-param-through-to-Http.patch (3.5 KB) - added by Mike Lundy 14 years ago.

Download all attachments as: .zip

Change History (7)

comment:1 Changed 14 years ago by thatch

Component: UncategorizedHTTP handling
milestone: 1.2
Triage Stage: UnreviewedDesign decision needed

comment:2 Changed 14 years ago by ccahoon

Owner: changed from nobody to ccahoon

comment:3 Changed 14 years ago by ccahoon

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.

comment:4 Changed 14 years ago by ccahoon

Triage Stage: Design decision neededSomeday/Maybe

comment:5 Changed 14 years ago by ccahoon

Resolution: duplicate
Status: newclosed

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.

comment:6 Changed 11 years ago by Jacob

milestone: 1.2

Milestone 1.2 deleted

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