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 = [
65 'getpaid.backends.payu',
68 INSTALLED_APPS_CONTRIB = [
69 # Should be before django.contrib.admin
73 'django.contrib.auth',
74 'django.contrib.contenttypes',
75 'django.contrib.sessions',
76 'django.contrib.sites',
77 'django.contrib.admin',
78 'django.contrib.admindocs',
79 'django.contrib.staticfiles',
80 'fnp_django_pagination',
85 'kombu.transport.django',
89 'getpaid.backends.payu',
92 'raven.contrib.django.raven_compat',
98 'allauth.socialaccount',
99 'allauth.socialaccount.providers.openid',
100 'allauth.socialaccount.providers.facebook',
101 # 'allauth.socialaccount.providers.twitter',
104 INSTALLED_APPS = INSTALLED_APPS_OUR + INSTALLED_APPS_CONTRIB
106 # Load localsettings, if they exist
108 from wolnelektury.localsettings import *