Non-global middleware in Django

Posted by hekevintran on Stack Overflow See other posts from Stack Overflow or by hekevintran
Published on 2010-05-26T21:30:57Z Indexed on 2010/05/26 22:51 UTC
Read the original article Hit count: 328

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.

© Stack Overflow or respective owner

Related posts about python

Related posts about django