Skip to content

Commit

Permalink
Added TEMPLATES setting to example app.
Browse files Browse the repository at this point in the history
  • Loading branch information
jezdez committed Sep 24, 2015
1 parent 6fa03fd commit cc538fe
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions example/cheeseshop/settings.py
Expand Up @@ -72,6 +72,22 @@
# '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',
Expand Down

0 comments on commit cc538fe

Please sign in to comment.