Django - CSRF verification failed - after successfully logged in
The CSRF token is rotated after the user logs in. If the user goes back in their browser after logging in and submits a form with the old token, then you will get a CSRF error.
If you refresh the page with the form after logging in, then the page will be reloaded with the new token, and CSRF verification should pass.
I am getting CSRF verification failed when i return to back go back after login using django method.
It returns the sign in page even after i successfully log in. And it posts the error as CSRF verification failed.
Could I use to set anything in Django setting?