X-Git-Url: https://git.mdrn.pl/edumed.git/blobdiff_plain/69e2856c3488f00b6040e6de0f7dcf230d5934e8..bb2d8acdcc511aa33db185698bc9ad755f33d014:/edumed/settings.d/40-middleware.py 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)