First time here? Check out the FAQ!

mrmartin's profile - activity

2015-07-16 04:33:59 -0500 answered a question Where to place 'askbot.middleware.csrf.CsrfViewMiddleware' ?

Hi,

You need to put this entry into the MIDDLEWARE classes section of settings.py.

MIDDLEWARE_CLASSES = (
    #'django.middleware.gzip.GZipMiddleware',
   ...
    'askbot.middleware.spaceless.SpacelessMiddleware',
    'askbot.middleware.csrf.CsrfViewMiddleware',
)