X-Git-Url: https://git.mdrn.pl/prawokultury.git/blobdiff_plain/56ed13f0a0ea439aae31b0b172bfbb42f89bfaf8..9b6d232f7a8bc0ed1f9b090c06c8438db14e8179:/prawokultury/settings.d/40-middleware.conf diff --git a/prawokultury/settings.d/40-middleware.conf b/prawokultury/settings.d/40-middleware.conf index 55ff33a..eedc50e 100755 --- a/prawokultury/settings.d/40-middleware.conf +++ b/prawokultury/settings.d/40-middleware.conf @@ -11,4 +11,5 @@ MIDDLEWARE_CLASSES = ( # Uncomment the next line for simple clickjacking protection: # 'django.middleware.clickjacking.XFrameOptionsMiddleware', 'pagination.middleware.PaginationMiddleware', + 'realip_middleware.SetRemoteAddrFromXRealIP', )