X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/ce3795b6c4f878c496b4d46193e3379f8efb077b..f39c00ef647a7f625d9bd61c570b89d7b9762c61:/src/wolnelektury/settings/basic.py diff --git a/src/wolnelektury/settings/basic.py b/src/wolnelektury/settings/basic.py index 294ee45f0..bef8cd9d1 100644 --- a/src/wolnelektury/settings/basic.py +++ b/src/wolnelektury/settings/basic.py @@ -5,7 +5,7 @@ from os import path from machina import MACHINA_MAIN_TEMPLATE_DIR from .paths import PROJECT_DIR -DEBUG = False +DEBUG = True MAINTENANCE_MODE = False ADMINS = [ @@ -26,7 +26,6 @@ DATABASES = { } } -SOLR = "http://localhost:8983/solr/wl/" SOLR_TEST = "http://localhost:8983/solr/wl_test/" SOLR_STOPWORDS = "/path/to/solr/data/conf/lang/stopwords_pl.txt" @@ -61,6 +60,7 @@ TEMPLATES = [{ 'django.template.context_processors.media', 'django.template.context_processors.request', 'wolnelektury.context_processors.extra_settings', + 'wolnelektury.abtests.context_processor', 'search.context_processors.search_form', 'machina.core.context_processors.metadata', ), @@ -86,3 +86,5 @@ MIDDLEWARE = [ ] ROOT_URLCONF = 'wolnelektury.urls' + +FILE_UPLOAD_PERMISSIONS = 0o640