X-Git-Url: https://git.mdrn.pl/edumed.git/blobdiff_plain/ea300f6c03d47f6c17dd7721b8d6690489af79da..28c55765f8f5edc8af2c43e49f5172a768d18eef:/edumed/settings.d/40-middleware.py?ds=sidebyside diff --git a/edumed/settings.d/40-middleware.py b/edumed/settings.d/40-middleware.py index bb7401f..6175197 100644 --- a/edumed/settings.d/40-middleware.py +++ b/edumed/settings.d/40-middleware.py @@ -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)