Opened 13 years ago
Closed 13 years ago
#17036 closed Cleanup/optimization (fixed)
Note that render is a special method name for HttpResponse objects
Reported by: | Preston Holmes | Owned by: | Preston Holmes |
---|---|---|---|
Component: | Documentation | Version: | dev |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
While an edge case, it should be noted that any HttpResponse subclass that implements render() will be assumed to be attempting to emulate a TemplateResponse object with regard to template_response middleware.
Change History (3)
comment:1 by , 13 years ago
Has patch: | set |
---|
comment:2 by , 13 years ago
note, that perhaps the note could got elsewhere in the doc, this can be moved at will of course by the comitter
Version 0, edited 13 years ago by (next)
Note:
See TracTickets
for help on using tickets.
https://github.com/django/django/pull/64