Skip to content

Commit

Permalink
updated test project to work with new django releases
Browse files Browse the repository at this point in the history
  • Loading branch information
wolph committed Dec 10, 2021
1 parent 81de262 commit b667112
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions tests/settings.py
Expand Up @@ -80,10 +80,22 @@
SECRET_KEY = '4f79$e&*4cfhk&k%uo*z0cjx&nvvayk-6wxkgf-apni5=q@!mz'

# List of callables that know how to import templates from various sources.
TEMPLATE_LOADERS = (
'django.template.loaders.filesystem.Loader',
'django.template.loaders.app_directories.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 = (
'django_statsd.middleware.StatsdMiddleware',
Expand Down

0 comments on commit b667112

Please sign in to comment.