]> git.openstreetmap.org Git - osqa.git/blobdiff - settings.py
enabling the CSRF protection middleware and adding the {% csrf_token %} tag to the...
[osqa.git] / settings.py
index de55240cddc405043605566ad30ec53675b33c6c..83e59c31298672b372215f3f56557d0e6700e359 100644 (file)
@@ -15,6 +15,7 @@ TEMPLATE_LOADERS = [
 ]
 
 MIDDLEWARE_CLASSES = [
+    'django.middleware.csrf.CsrfViewMiddleware',
     'django.contrib.sessions.middleware.SessionMiddleware',
     'django.middleware.common.CommonMiddleware',
     'forum.middleware.extended_user.ExtendedUser',