Most SO responses ask you to clear cookies and confirm the middleware class. I have already tried this.
Python - 3.4
Django - 1.10
Using VirtualEnv.
I get an error Forbidden (403) CSRF verification failed. Request aborted.on the Django admin login screen. I hosted my site on pythonanywhere.com using django version 1.9 .
, .
csrf-token? ?
update 1: debug = False , . , .
update 2. , cookie csrftoken , , . cookie , , -.
update 3. , -. CSRF, , , cookie .
update 4: CSRF_COOKIE_NAME = "csrf_token" .