workaround bug in django (newlines in http headers, https://code.djangoproject.com...
[edumed.git] / edumed / settings / middleware.py
index 15ab189..3f46f7c 100644 (file)
@@ -10,7 +10,6 @@ MIDDLEWARE_CLASSES = process_app_deps((
 
     'django.middleware.common.CommonMiddleware',
     'django.middleware.csrf.CsrfViewMiddleware',
-    'honeypot.middleware.HoneypotMiddleware',
     ('django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.auth'),
     ('django_cas.middleware.CASMiddleware', 'django_cas'),
     ('django.contrib.messages.middleware.MessageMiddleware', 'django.contrib.messages'),
@@ -19,7 +18,7 @@ MIDDLEWARE_CLASSES = process_app_deps((
     ('pagination.middleware.PaginationMiddleware', 'pagination'),
     'django.middleware.cache.FetchFromCacheMiddleware',
     'fnpdjango.middleware.SetRemoteAddrFromXRealIP',
-    'pybb.middleware.PybbMiddleware',
-    'forum.middleware.ForumMiddleware',
+    'pybb.middleware.PybbMiddleware',
+    'forum.middleware.ForumMiddleware',
     'wtem.middleware.ThreadLocalMiddleware'
 ))