X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/5221177061d377830cdee4079e57b777b53cb8a7..c3af41ec13e26ad2b4cb000291ff989dc1b3686f:/src/wolnelektury/settings/__init__.py diff --git a/src/wolnelektury/settings/__init__.py b/src/wolnelektury/settings/__init__.py index 6b0c171da..7c1dd2983 100644 --- a/src/wolnelektury/settings/__init__.py +++ b/src/wolnelektury/settings/__init__.py @@ -1,7 +1,5 @@ # -*- coding: utf-8 -*- # Django settings for wolnelektury project. -from os import path - from .basic import * from .auth import * from .cache import * @@ -10,18 +8,9 @@ from .contrib 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', @@ -99,14 +88,14 @@ INSTALLED_APPS_CONTRIB = [ '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