adapt templates to the current edition of WTEM
[edumed.git] / edumed / settings.d / 40-middleware.py
index bb7401f..6175197 100644 (file)
@@ -22,5 +22,6 @@ MIDDLEWARE_CLASSES = tuple(x for x in (
     'django.middleware.cache.FetchFromCacheMiddleware',
     'fnpdjango.middleware.SetRemoteAddrFromXRealIP',
     'pybb.middleware.PybbMiddleware',
-    'forum.middleware.ForumMiddleware'
+    'forum.middleware.ForumMiddleware',
+    'wtem.middleware.ThreadLocalMiddleware'
 ) if x is not None)