from .paths import PROJECT_DIR
DEBUG = True
-MAINTENANCE_MODE = False
ADMINS = [
# ('Your Name', 'your_email@domain.com'),
'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',
),
'django.contrib.admindocs.middleware.XViewMiddleware',
'fnp_django_pagination.middleware.PaginationMiddleware',
'django.middleware.locale.LocaleMiddleware',
- 'maintenancemode.middleware.MaintenanceModeMiddleware',
'django.middleware.common.CommonMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'fnpdjango.middleware.SetRemoteAddrFromXRealIP',
]
ROOT_URLCONF = 'wolnelektury.urls'
+
+FILE_UPLOAD_PERMISSIONS = 0o640