1ð
â
I just checked my settings.py
and I see 2 middlewares added not just CsrfViewMiddleware
â
MIDDLEWARE_CLASSES = (
...
âdjango.middleware.csrf.CsrfViewMiddlewareâ,
âdjango.middleware.csrf.CsrfResponseMiddlewareâ,
)
Try adding more.
Source:stackexchange.com