--
Ticket URL: <https://code.djangoproject.com/ticket/20331>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* needs_better_patch: => 0
* component: Uncategorized => contrib.admin
* needs_tests: => 0
* needs_docs: => 0
* has_patch: 0 => 1
* type: Uncategorized => Bug
--
Ticket URL: <https://code.djangoproject.com/ticket/20331#comment:1>
* needs_docs: 0 => 1
* version: 1.5 => master
* needs_tests: 0 => 1
* stage: Unreviewed => Accepted
Comment:
This is a reasonable request indeed. This needs testing and an entry in
the release note.
--
Ticket URL: <https://code.djangoproject.com/ticket/20331#comment:2>
Comment (by aaugustin):
Yay type checks :-/
The proper solution is to test for `HttpResponseBase` (a private API that
lives in `django.http.response`).
--
Ticket URL: <https://code.djangoproject.com/ticket/20331#comment:3>
* needs_better_patch: 0 => 1
--
Ticket URL: <https://code.djangoproject.com/ticket/20331#comment:4>
* needs_better_patch: 1 => 0
* needs_docs: 1 => 0
* needs_tests: 1 => 0
* stage: Accepted => Ready for checkin
Comment:
Patch looks pretty good
--
Ticket URL: <https://code.djangoproject.com/ticket/20331#comment:5>
Comment (by aaugustin):
I'm committing this, I'll just remove the line from the release notes
because it's really a bugfix, and we don't mention them all.
--
Ticket URL: <https://code.djangoproject.com/ticket/20331#comment:6>
* needs_better_patch: 0 => 1
* stage: Ready for checkin => Accepted
Comment:
Hmm, actually six admin_views tests fail under Python 3 with this patch.
--
Ticket URL: <https://code.djangoproject.com/ticket/20331#comment:7>
* cc: timograham@… (added)
* needs_better_patch: 1 => 0
Comment:
Fixed tests and removed release note.
https://github.com/django/django/pull/1230
--
Ticket URL: <https://code.djangoproject.com/ticket/20331#comment:8>
* stage: Accepted => Ready for checkin
Comment:
Ran all `admin_views` tests on Python 2.7.3 and 3.2.3 with success,
marking as RFC.
--
Ticket URL: <https://code.djangoproject.com/ticket/20331#comment:9>
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"d727518ad61beda4d9c2b744c9c05a805aa23ed1"]:
{{{
#!CommitTicketReference repository=""
revision="d727518ad61beda4d9c2b744c9c05a805aa23ed1"
Fixed #20331 -- Allowed admin actions to serve StreamingHttpResponses
Thanks Edwin.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/20331#comment:10>
Comment (by anentropic):
Is there any policy on backporting this fix to older versions...? my
project is on 1.5 and I just hit this bug
I'm happy to do the work if it can get merged quickly
--
Ticket URL: <https://code.djangoproject.com/ticket/20331#comment:11>
Comment (by timo):
1.5 is receiving only security fixes at this time. See the
[https://docs.djangoproject.com/en/dev/internals/release-process
/#supported-versions supported versions policy] for details.
--
Ticket URL: <https://code.djangoproject.com/ticket/20331#comment:12>