Request validation fix.
[wolnelektury.git] / src / wolnelektury / settings / basic.py
index b245ca5..bef8cd9 100644 (file)
@@ -60,6 +60,7 @@ TEMPLATES = [{
             'django.template.context_processors.media',
             'django.template.context_processors.request',
             'wolnelektury.context_processors.extra_settings',
             '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',
         ),
             'search.context_processors.search_form',
             'machina.core.context_processors.metadata',
         ),
@@ -85,3 +86,5 @@ MIDDLEWARE = [
 ]
 
 ROOT_URLCONF = 'wolnelektury.urls'
 ]
 
 ROOT_URLCONF = 'wolnelektury.urls'
+
+FILE_UPLOAD_PERMISSIONS = 0o640