1 # -*- coding: utf-8 -*-
2 # Django settings for wolnelektury project.
14 MIDDLEWARE_CLASSES = [
15 'django.middleware.csrf.CsrfViewMiddleware',
16 'ssify.middleware.SsiMiddleware',
17 'django.middleware.cache.UpdateCacheMiddleware',
18 'ssify.middleware.PrepareForCacheMiddleware',
19 'django.middleware.common.CommonMiddleware',
20 'django.contrib.sessions.middleware.SessionMiddleware',
21 'django.contrib.auth.middleware.AuthenticationMiddleware',
22 'django.contrib.admindocs.middleware.XViewMiddleware',
23 'fnp_django_pagination.middleware.PaginationMiddleware',
24 'ssify.middleware.LocaleMiddleware',
25 'maintenancemode.middleware.MaintenanceModeMiddleware',
26 'django.middleware.common.CommonMiddleware',
27 'django.contrib.messages.middleware.MessageMiddleware',
28 'fnpdjango.middleware.SetRemoteAddrFromXRealIP',
29 'django.middleware.cache.FetchFromCacheMiddleware',
32 ROOT_URLCONF = 'wolnelektury.urls'
34 # These are the ones we should test.
35 INSTALLED_APPS_OUR = [
67 'getpaid.backends.payu',
70 INSTALLED_APPS_CONTRIB = [
71 # Should be before django.contrib.admin
75 'django.contrib.auth',
76 'django.contrib.contenttypes',
77 'django.contrib.sessions',
78 'django.contrib.sites',
79 'django.contrib.admin',
80 'django.contrib.admindocs',
81 'django.contrib.staticfiles',
82 'fnp_django_pagination',
87 'kombu.transport.django',
91 'getpaid.backends.payu',
94 'raven.contrib.django.raven_compat',
98 'django_comments_xtd',
104 'allauth.socialaccount',
105 'allauth.socialaccount.providers.openid',
106 'allauth.socialaccount.providers.facebook',
107 'allauth.socialaccount.providers.google',
108 # 'allauth.socialaccount.providers.twitter',
111 INSTALLED_APPS = INSTALLED_APPS_OUR + INSTALLED_APPS_CONTRIB
113 # Load localsettings, if they exist
115 from wolnelektury.localsettings import *