check size and extension in js (and some minor improvements)
[edumed.git] / edumed / settings / middleware.py
index 3dc3278..3f46f7c 100644 (file)
@@ -18,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'
 ))