2 ms·
Django actually makes it easier...all you have to do is add django.contrib.csrf.middleware.CsrfMiddleware to your MIDDLEWARE_CLASSES, and it protects the whole
by nostrademons 18y ago
Django actually makes it easier...all you have to do is add django.contrib.csrf.middleware.CsrfMiddleware to your MIDDLEWARE_CLASSES, and it protects the whole webapp.
http://www.djangoproject.com/documentation/csrf/ http://www.djangoproject.com/documentation/csrf/