Added TEMPLATES setting to example app.

This commit is contained in:
Jannis Leidel 2015-09-24 12:48:23 +02:00
parent 6fa03fdef8
commit cc538fef50

View file

@ -72,6 +72,22 @@ TEMPLATE_LOADERS = (
# 'django.template.loaders.eggs.Loader',
)
TEMPLATES = [
{
'BACKEND': 'django.template.backends.django.DjangoTemplates',
'DIRS': [],
'APP_DIRS': True,
'OPTIONS': {
'context_processors': [
'django.template.context_processors.debug',
'django.template.context_processors.request',
'django.contrib.auth.context_processors.auth',
'django.contrib.messages.context_processors.messages',
],
},
},
]
MIDDLEWARE_CLASSES = (
'django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',