# -*- coding: utf-8 -*-
# Django settings for wolnelektury project.
-from os import path
-
from .basic import *
from .auth import *
from .cache import *
from .custom import *
from .locale import *
from .static 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',
'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',
'funding',
'polls',
'libraries',
- ]
+ 'newsletter',
+]
GETPAID_BACKENDS = (
'getpaid.backends.payu',
'django.contrib.admin',
'django.contrib.admindocs',
'django.contrib.staticfiles',
- 'pagination',
+ 'fnp_django_pagination',
'pipeline',
'piston',
'piwik',
'getpaid',
'getpaid.backends.payu',
'ssify',
+ 'django_extensions',
- #allauth stuff
+ # allauth stuff
'uni_form',
'allauth',
'allauth.account',
'allauth.socialaccount',
'allauth.socialaccount.providers.openid',
'allauth.socialaccount.providers.facebook',
- #'allauth.socialaccount.providers.twitter',
+ # 'allauth.socialaccount.providers.twitter',
]
INSTALLED_APPS = INSTALLED_APPS_OUR + INSTALLED_APPS_CONTRIB