Package madrona :: Package common :: Module middleware :: Class IgnoreCsrfMiddleware
[hide private]

Class IgnoreCsrfMiddleware

source code

object --+
         |
        IgnoreCsrfMiddleware

http://djangosnippets.org/snippets/2069/ CSRF protection requires updating all forms Meanwhile the crsf middleware is required for admin to work. This middleware class will just ignore csrf, allowing the current views and admin to work

Instance Methods [hide private]
 
process_request(self, request) source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__