X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/bc7619edc01175ed32c2155a19fba22ddb8365ce..7fdf8249c9c016e397edc3112184e74b0f3f9778:/wolnelektury/settings/__init__.py?ds=sidebyside diff --git a/wolnelektury/settings/__init__.py b/wolnelektury/settings/__init__.py index e5c7ece10..c40bb366b 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', @@ -34,10 +33,8 @@ MIDDLEWARE_CLASSES = [ 'django.middleware.doc.XViewMiddleware', 'pagination.middleware.PaginationMiddleware', 'django.middleware.locale.LocaleMiddleware', - 'piwik.django.middleware.PiwikMiddleware', 'maintenancemode.middleware.MaintenanceModeMiddleware', 'django.middleware.common.CommonMiddleware', - 'django.middleware.cache.FetchFromCacheMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'fnpdjango.middleware.SetRemoteAddrFromXRealIP', ] @@ -67,9 +64,15 @@ INSTALLED_APPS_OUR = [ 'waiter', 'search', 'oai', + 'funding', + 'polls', 'libraries', ] +GETPAID_BACKENDS = ( + 'getpaid.backends.payu', +) + INSTALLED_APPS_CONTRIB = [ # external 'django.contrib.auth', @@ -82,7 +85,7 @@ INSTALLED_APPS_CONTRIB = [ 'pagination', 'pipeline', 'piston', - 'piwik.django', + 'piwik', #'rosetta', 'south', 'sorl.thumbnail', @@ -90,6 +93,9 @@ INSTALLED_APPS_CONTRIB = [ 'djkombu', 'honeypot', #'django_nose', + 'fnpdjango', + 'getpaid', + 'getpaid.backends.payu', #allauth stuff 'uni_form',