]> git.sommitrealweird.co.uk Git - sommitrealweird.git/blobdiff - sommitrealweird/settings.py
Enable CSRF and Comment Moderation
[sommitrealweird.git] / sommitrealweird / settings.py
index 73ea9ce99678f0d96fd2d303cef75b3cd122180a..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',
 )
 
@@ -91,6 +92,7 @@ APPEND_SLASH=False
 
 RESTRUCTUREDTEXT_FILTER_SETTINGS = {
     'initial_header_level': 2,
+    'doctitle_xform': False,
 }
 
 BPCMS_ROOT = '/'