R
R
redduckrobot2015-11-30 21:23:53
Django
redduckrobot, 2015-11-30 21:23:53

Why do I get a 403 error when working with the jang admin panel in google chrome?

Hello, when editing the fields for the second time in the admin panel, it says: “Access error (403). CSRF validation failed. Request denied."
This error only pops up in google chrome. And are added to cookies csrf, sessionidand after adding/editing any field, a cookie is added messages. If you delete manually messagesafter each edit, then no errors are knocked out. In other browsers, the same cookie is also added, but there are no problems.
There are no problems on the deployment (that is, on a live server). I work in c9. What could be the matter and how to fix it? Thank you.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Maslennikov, 2015-12-02
@minisotm

Perhaps this bug
UPD: on deployment, you may not have csrf middleware enabled.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question