X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/f8237807eed38189cf909c73d37c2b3d1e2d584a..97c8c6d7c7961976172bece182832d01c9c0fc4b:/src/wolnelektury/settings/basic.py?ds=sidebyside 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