MANAGERS = ADMINS
-CONTACT_EMAIL = 'fundacja@nowoczesnapolska.org.pl'
+CONTACT_EMAIL = 'fundacja@wolnelektury.pl'
CACHE_MIDDLEWARE_SECONDS = 24 * 60 * 60
TEMPLATES = [{
'BACKEND': 'django.template.backends.django.DjangoTemplates',
+ 'APP_DIRS': True,
'OPTIONS': {
'context_processors': (
'django.contrib.auth.context_processors.auth',
'wolnelektury.context_processors.extra_settings',
'search.context_processors.search_form',
),
- 'loaders': [
- 'django.template.loaders.filesystem.Loader',
- 'django.template.loaders.app_directories.Loader',
- ],
},
}]
-if not DEBUG:
- TEMPLATES['loaders'] = [
- ('django.template.loaders.cached.Loader', TEMPLATES['loaders'])
- ]
MIDDLEWARE = [
'debug_toolbar.middleware.DebugToolbarMiddleware',