Non-global middleware in Django
You can use process_view method, that is called before calling the view func. In process_view you can check — if this view requires this middleware interception.
In Django there is a settings file that defines the middleware to be run on each request.  This middleware setting is global.  Is there a way to specify a set of middleware on a per-view basis?  I want to have specific urls use a set of middleware different from the global set.