]> git.openstreetmap.org Git - osqa.git/blobdiff - settings.py
Safer last edited action getter.
[osqa.git] / settings.py
index de55240cddc405043605566ad30ec53675b33c6c..bdd2934a07250846193497f3de59f92dffab3511 100644 (file)
@@ -15,6 +15,8 @@ TEMPLATE_LOADERS = [
 ]
 
 MIDDLEWARE_CLASSES = [
 ]
 
 MIDDLEWARE_CLASSES = [
+    'django.middleware.csrf.CsrfViewMiddleware',
+    'django.middleware.csrf.CsrfResponseMiddleware',
     'django.contrib.sessions.middleware.SessionMiddleware',
     'django.middleware.common.CommonMiddleware',
     'forum.middleware.extended_user.ExtendedUser',
     'django.contrib.sessions.middleware.SessionMiddleware',
     'django.middleware.common.CommonMiddleware',
     'forum.middleware.extended_user.ExtendedUser',