Add plugin from Text Editor response CSRF Token error, page cache is false
See original GitHub issueUsing django-cms 3.4.0, Text CKEditor 3.2.1 and Django 1.9.10
When I want to add a plugin from the Text editor, after submit the form it response “CSRF verification failed.”
I’m not using cache and also in my settings I have
CMS_PAGE_CACHE = False
I inspected the elements and the token saved in the cookies and the one in the html iframe are the same, so I assume that It have the correct csrf token.
Also I have already tried this solution but it didn’t worked for me.
In my localhost it works with no problem, but in my staging server it isn’t working, and the only differences in my settings are the database they are refering to, also the both have DEBUG = True.
I have read some issues where the solution is the cache, but I think it’s not my case.
Issue Analytics
- State:
- Created 7 years ago
- Comments:8 (4 by maintainers)
Top GitHub Comments
A lot of thanks! Disabling django-debug-toolbar in my staging server solved the problem.
@CoffiDev I’m not sure but it might be that you have django-debug-toolbar in your environment and its doing something strange.