X-Git-Url: https://git.mdrn.pl/edumed.git/blobdiff_plain/69e2856c3488f00b6040e6de0f7dcf230d5934e8..fdbe8bf3d09412b858c7f6c1555f46ec768dabba:/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 34780d8..8a3d2e6 100644 --- a/edumed/settings.d/40-middleware.py +++ b/edumed/settings.d/40-middleware.py @@ -21,5 +21,6 @@ MIDDLEWARE_CLASSES = tuple(x for x in ( 'pagination.middleware.PaginationMiddleware' if "pagination" in INSTALLED_APPS else None, 'django.middleware.cache.FetchFromCacheMiddleware', - 'fnpdjango.middleware.SetRemoteAddrFromXRealIP' + 'fnpdjango.middleware.SetRemoteAddrFromXRealIP', + 'pybb.middleware.PybbMiddleware', ) if x is not None)