X-Git-Url: https://git.mdrn.pl/copyspeak.git/blobdiff_plain/2374306a346a48eb02bcedf0ce19694a1b0b7c25..07732e6e1e4e9e02ef3dc2624985d5fd4409e25d:/src/copyspeak/settings/middleware.py?ds=sidebyside diff --git a/src/copyspeak/settings/middleware.py b/src/copyspeak/settings/middleware.py index 05f1465..14832a1 100644 --- a/src/copyspeak/settings/middleware.py +++ b/src/copyspeak/settings/middleware.py @@ -19,5 +19,6 @@ MIDDLEWARE_CLASSES = tuple(x for x in ( # 'django.middleware.clickjacking.XFrameOptionsMiddleware', 'pagination.middleware.PaginationMiddleware' if "pagination" in INSTALLED_APPS else None, + 'django.contrib.flatpages.middleware.FlatpageFallbackMiddleware', 'fnpdjango.middleware.SetRemoteAddrFromXRealIP' ) if x is not None)