add command to clean social accounts from unnecessary data
[wolnelektury.git] / src / wolnelektury / settings / __init__.py
index 5d19d26..ca70e9f 100644 (file)
@@ -11,16 +11,6 @@ from .static import *
 from .paths import *
 
 
 from .paths import *
 
 
-TEMPLATE_CONTEXT_PROCESSORS = (
-    'django.contrib.auth.context_processors.auth',
-    'django.core.context_processors.debug',
-    'django.core.context_processors.i18n',
-    'django.core.context_processors.media',
-    'django.core.context_processors.request',
-    'wolnelektury.context_processors.extra_settings',
-    'search.context_processors.search_form',
-)
-
 MIDDLEWARE_CLASSES = [
     'django.middleware.csrf.CsrfViewMiddleware',
     'ssify.middleware.SsiMiddleware',
 MIDDLEWARE_CLASSES = [
     'django.middleware.csrf.CsrfViewMiddleware',
     'ssify.middleware.SsiMiddleware',
@@ -30,7 +20,7 @@ MIDDLEWARE_CLASSES = [
     'django.contrib.sessions.middleware.SessionMiddleware',
     'django.contrib.auth.middleware.AuthenticationMiddleware',
     'django.contrib.admindocs.middleware.XViewMiddleware',
     'django.contrib.sessions.middleware.SessionMiddleware',
     'django.contrib.auth.middleware.AuthenticationMiddleware',
     'django.contrib.admindocs.middleware.XViewMiddleware',
-    'pagination.middleware.PaginationMiddleware',
+    'fnp_django_pagination.middleware.PaginationMiddleware',
     'ssify.middleware.LocaleMiddleware',
     'maintenancemode.middleware.MaintenanceModeMiddleware',
     'django.middleware.common.CommonMiddleware',
     'ssify.middleware.LocaleMiddleware',
     'maintenancemode.middleware.MaintenanceModeMiddleware',
     'django.middleware.common.CommonMiddleware',
@@ -67,7 +57,10 @@ INSTALLED_APPS_OUR = [
     'funding',
     'polls',
     'libraries',
     'funding',
     'polls',
     'libraries',
-    ]
+    'newsletter',
+    'contact',
+    'isbn',
+]
 
 GETPAID_BACKENDS = (
     'getpaid.backends.payu',
 
 GETPAID_BACKENDS = (
     'getpaid.backends.payu',
@@ -85,7 +78,7 @@ INSTALLED_APPS_CONTRIB = [
     'django.contrib.admin',
     'django.contrib.admindocs',
     'django.contrib.staticfiles',
     'django.contrib.admin',
     'django.contrib.admindocs',
     'django.contrib.staticfiles',
-    'pagination',
+    'fnp_django_pagination',
     'pipeline',
     'piston',
     'piwik',
     'pipeline',
     'piston',
     'piwik',
@@ -97,6 +90,7 @@ INSTALLED_APPS_CONTRIB = [
     'getpaid.backends.payu',
     'ssify',
     'django_extensions',
     'getpaid.backends.payu',
     'ssify',
     'django_extensions',
+    'raven.contrib.django.raven_compat',
 
     # allauth stuff
     'uni_form',
 
     # allauth stuff
     'uni_form',
@@ -105,6 +99,7 @@ INSTALLED_APPS_CONTRIB = [
     'allauth.socialaccount',
     'allauth.socialaccount.providers.openid',
     'allauth.socialaccount.providers.facebook',
     'allauth.socialaccount',
     'allauth.socialaccount.providers.openid',
     'allauth.socialaccount.providers.facebook',
+    'allauth.socialaccount.providers.google',
     # 'allauth.socialaccount.providers.twitter',
     ]
 
     # 'allauth.socialaccount.providers.twitter',
     ]