Revision history [back]
Where to place 'askbot.middleware.csrf.CsrfViewMiddleware' ?
When running 'python mange.py syncdb', the django self-check tells me the following:
The order the middleware records is important, please take a look at the example in
[I cannot post links]github.com/ASKBOT/askbot-devel/blob/master/askbot/setup_templates/settings.py:
'askbot.middleware.csrf.CsrfViewMiddleware',
The linked example does not contain 'askbot.middleware.csrf.CsrfViewMiddleware'. I tried to place it at the beginning or at the end of the middlware records, but the self-check kept telling me that the position is wrong