X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/6ff3ca2d4ba9d131d5a3a96e9f74573668980f0b..b9c23cfd467a8674f9c7efa2abe4ab8e1e8a3c63:/wolnelektury/settings/__init__.py diff --git a/wolnelektury/settings/__init__.py b/wolnelektury/settings/__init__.py index de1b44237..46e61bd85 100644 --- a/wolnelektury/settings/__init__.py +++ b/wolnelektury/settings/__init__.py @@ -38,6 +38,7 @@ MIDDLEWARE_CLASSES = [ 'django.middleware.common.CommonMiddleware', 'django.middleware.cache.FetchFromCacheMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', + 'realip_middleware.SetRemoteAddrFromXRealIP', ] ROOT_URLCONF = 'wolnelektury.urls' @@ -86,7 +87,7 @@ INSTALLED_APPS_CONTRIB = [ 'djcelery', 'djkombu', 'honeypot', - 'django_nose', + #'django_nose', #allauth stuff 'emailconfirmation',