X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/62d83af2cafb15b3940311cf305a30d489909d95..114d9964082b2ca6c0e18214d761021dbca362de:/wolnelektury/settings/__init__.py diff --git a/wolnelektury/settings/__init__.py b/wolnelektury/settings/__init__.py index 7b1641c99..b3950fccb 100644 --- a/wolnelektury/settings/__init__.py +++ b/wolnelektury/settings/__init__.py @@ -26,7 +26,6 @@ TEMPLATE_CONTEXT_PROCESSORS = ( ) MIDDLEWARE_CLASSES = [ - 'django.middleware.cache.UpdateCacheMiddleware', 'django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', @@ -37,7 +36,6 @@ MIDDLEWARE_CLASSES = [ 'piwik.django.middleware.PiwikMiddleware', 'maintenancemode.middleware.MaintenanceModeMiddleware', 'django.middleware.common.CommonMiddleware', - 'django.middleware.cache.FetchFromCacheMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'fnpdjango.middleware.SetRemoteAddrFromXRealIP', ] @@ -70,6 +68,10 @@ INSTALLED_APPS_OUR = [ 'funding', ] +GETPAID_BACKENDS = ( + 'getpaid.backends.payu', +) + INSTALLED_APPS_CONTRIB = [ # external 'django.contrib.auth', @@ -91,6 +93,8 @@ INSTALLED_APPS_CONTRIB = [ 'honeypot', #'django_nose', 'fnpdjango', + 'getpaid', + 'getpaid.backends.payu', #allauth stuff 'uni_form',