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
Django urlmiddleware allows to apply middleware only to views that are mapped to specific urls.