Closed benedikt-bartscher closed 2 years ago
Please check that the preceding GET-request sets the Cookie named csrftoken
. That value is parsed and added to the POST header.
It does not, it only sets a session id. I am using:
CSRF_USE_SESSIONS = True
Logs:
Forbidden (CSRF token from the 'X-Csrftoken' HTTP header incorrect.): /admin/myapp/mymodel/adminsortable2_update/
fixed in version 2.0.2
works fine, thanks!
Since version 2 all /adminsortable2_update/ POST requests are failing with an CSRF error (Status Code 403) for me.