X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/f8237807eed38189cf909c73d37c2b3d1e2d584a..53dd30b74a0b805937dd3a8add59aeb8c5ffeee0:/src/wolnelektury/settings/basic.py diff --git a/src/wolnelektury/settings/basic.py b/src/wolnelektury/settings/basic.py index b245ca5fa..bef8cd9d1 100644 --- a/src/wolnelektury/settings/basic.py +++ b/src/wolnelektury/settings/basic.py @@ -60,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', ), @@ -85,3 +86,5 @@ MIDDLEWARE = [ ] ROOT_URLCONF = 'wolnelektury.urls' + +FILE_UPLOAD_PERMISSIONS = 0o640