nk logo
[emels.git] / emels / settings / basic.py
1 # -*- coding: utf-8 -*-
2 from emels.utils import process_app_deps
3
4 DEBUG = False
5
6 SITE_ID = 1
7
8 ROOT_URLCONF = 'emels.urls'
9
10 # Python dotted path to the WSGI application used by Django's runserver.
11 WSGI_APPLICATION = 'emels.wsgi.application'
12
13 TEMPLATES = [{
14     'BACKEND': 'django.template.backends.django.DjangoTemplates',
15     'OPTIONS': {
16         'loaders': (
17             ('django.template.loaders.cached.Loader', (
18                 'django.template.loaders.filesystem.Loader',
19                 'django.template.loaders.app_directories.Loader',
20             )),
21         ),
22         'context_processors': process_app_deps((
23             ("django.contrib.auth.context_processors.auth", "django.contrib.auth"),
24             "django.template.context_processors.debug",
25             "django.template.context_processors.i18n",
26             "django.template.context_processors.media",
27             "django.template.context_processors.static",
28             "django.template.context_processors.tz",
29             ("django.contrib.messages.context_processors.messages", 'django.contrib.messages'),
30             "django.template.context_processors.request",
31         )),
32     },
33 }]