Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

CSRF Error After last update repo

26 views
Skip to first unread message

cifr...@gmail.com

unread,
May 24, 2016, 6:57:34 AM5/24/16
to Django FeinCMS
After last update feincms - static files was updated.
Now i saw the bug. When i go to the tree_editor page then other next requests django change CSRFToken on each one....
i can't save any pages an other objects...
i receive 403 error...
live example 
http://tt.trickweb.ru/editor/page/page/ - Tree editor page
Then try to change any page...You will get 403 error
In Cookie you will see new csrftoren on each request
It is only after visit tree editor page

login: admin
pass: admin

Heeeelp!!!

Matthias Kestenholz

unread,
May 30, 2016, 9:14:13 AM5/30/16
to django-...@googlegroups.com
Hey,

Which (exact) version of Django are you using? Django shouldn't change the csrftoken on each request, at least not in Django<1.10. (https://docs.djangoproject.com/en/dev/releases/1.10/#csrf)

- Matthias

--

cifr...@gmail.com

unread,
Jun 7, 2016, 4:01:39 PM6/7/16
to Django FeinCMS
I solve this problem. But i don't undestand why it's happening.
I returned JS and templates from old version of feincms (/static/feincms/*) and this problem is gone.

wtf? o_O

Django's version == 1.9.5, but I'm sure it doesn't matter.
Reply all
Reply to author
Forward
0 new messages