2.2rc1 Adding plugins throws CSRF token failure #955

cro opened this Issue Aug 15, 2011 · 6 comments


None yet

3 participants

cro commented Aug 15, 2011

Installed a bare instance of 2.2rc1 to test it out. Usinq sqlite. Was able to syncdb and migrate fine, but when I created a test page and tried to add a plugin I got "CSRF Verification Failed."


I can't reproduce this locally - can you include: OS version (you never know...) and browser?

ojii commented Aug 16, 2011

as well as your MIDDLEWARE settings, Django version, what plugin you tried, whether it was using frontend edit or in /admin/.

cro commented Aug 16, 2011

Mac OS 10.7 (Lion), stock Python 2.7.1 in a virtualenv with --no-site-packages. Browsers tested were Safari 5.1 and Firefox 5.0.1. Saw the issue both in frontend edit and admin. Django version is 1.3. Any plugin I tried threw the error. Middleware settings are

ojii commented Aug 16, 2011

what version of the CMS are you using? Looking at those middleware classes it looks hardly like 2.2rc1.


Just in case:

python manage.py shell


import cms
print cms.__version__
cro commented Aug 16, 2011

Well, I thought I was using 2.2rc1--Something odd happened when I setup the virtualenv and though Django 1.3 was installed in the ve site-packages, it was pulling an older 1.2 when the server was starting up. I'll close the issue, I was successful in creating a test instance this time.

@cro cro closed this Aug 16, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment