]> git.openstreetmap.org Git - osqa.git/commitdiff
adding CsrfResponseMiddleware to the Middleware Classes list
authorjordan <jordan@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Mon, 18 Apr 2011 17:40:16 +0000 (17:40 +0000)
committerjordan <jordan@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Mon, 18 Apr 2011 17:40:16 +0000 (17:40 +0000)
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@989 0cfe37f9-358a-4d5e-be75-b63607b5c754

settings.py

index 83e59c31298672b372215f3f56557d0e6700e359..bdd2934a07250846193497f3de59f92dffab3511 100644 (file)
@@ -16,6 +16,7 @@ TEMPLATE_LOADERS = [
 
 MIDDLEWARE_CLASSES = [
     'django.middleware.csrf.CsrfViewMiddleware',
+    'django.middleware.csrf.CsrfResponseMiddleware',
     'django.contrib.sessions.middleware.SessionMiddleware',
     'django.middleware.common.CommonMiddleware',
     'forum.middleware.extended_user.ExtendedUser',