]> git.sommitrealweird.co.uk Git - sommitrealweird.git/blobdiff - sommitrealweird/settings.py
Enable CSRF and Comment Moderation
[sommitrealweird.git] / sommitrealweird / settings.py
index 46627e7d6f741c9184319c3eb0dda29efe79fae9..41f9656cc9c13e3b8376b7db0efbfb0b75a73de6 100644 (file)
@@ -51,6 +51,7 @@ MIDDLEWARE_CLASSES = (
     'django.middleware.common.CommonMiddleware',
     'django.contrib.sessions.middleware.SessionMiddleware',
     'django.contrib.auth.middleware.AuthenticationMiddleware',
+    'django.middleware.csrf.CsrfViewMiddleware',
     'django.middleware.doc.XViewMiddleware',
 )