[Answer]-Djangobook ch 7 CSRF

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.

Leave a comment