The suggestion got +1s from at least two core devs (Aymeric and Florian).
Proposed patch to follow imminently.
--
Ticket URL: <https://code.djangoproject.com/ticket/26452>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* needs_docs: => 0
* has_patch: 0 => 1
* needs_tests: => 0
* needs_better_patch: => 0
--
Ticket URL: <https://code.djangoproject.com/ticket/26452#comment:1>
* needs_better_patch: 0 => 1
* component: Core (Other) => HTTP handling
* version: 1.9 => master
* stage: Unreviewed => Accepted
Comment:
Left a few comments for improvement on the
[https://github.com/django/django/pull/6400 PR].
--
Ticket URL: <https://code.djangoproject.com/ticket/26452#comment:2>
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"99bb7fcc1859615a7b8c2468e7b97d54853bfb10" 99bb7fcc]:
{{{
#!CommitTicketReference repository=""
revision="99bb7fcc1859615a7b8c2468e7b97d54853bfb10"
Fixed #26452 -- Loaded middleware on server start rather than on first
request.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/26452#comment:3>