Hi Florian, On 5/12/18 10:22 AM, Florian Apolloner wrote:
> After refactoring the middlewares to new-style middlewares as we have them > now, I am left with two pain points: > > * atomic requests are still special cased and not in a middleware > * process_view is as useless as always (it can neither alter nor convert > args/kwargs or the view) > > To change this I am proposing the following changes: > > * Deprecate request.urlconf and provide a way to set the urlconf __before__ > the middleware chain is entered > * Resolve view before the middleware chain is entered I'm not sure this part is feasible. It's an intentional part of middleware design AFAIK (and useful) that middleware can modify request.path and have this modification respected in view resolution. Carl -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/django-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/0c8e1164-931e-72a9-438c-c099fd7447ad%40oddbird.net. For more options, visit https://groups.google.com/d/optout.
