'django.middleware.cache.FetchFromCacheMiddleware',
'fnpdjango.middleware.SetRemoteAddrFromXRealIP',
'pybb.middleware.PybbMiddleware',
- 'forum.middleware.ForumMiddleware'
+ 'forum.middleware.ForumMiddleware',
+ 'wtem.middleware.ThreadLocalMiddleware'
) if x is not None)