diff --git a/testing/test_settings.py b/testing/test_settings.py index ff86e57..78cb96e 100755 --- a/testing/test_settings.py +++ b/testing/test_settings.py @@ -82,6 +82,22 @@ SECRET_KEY = '$!-7^wl#wiifjbh)5@f7ji%x!vp7s1vzbvwt26hxv$idixq0u0' # List of callables that know how to import templates from various sources. +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', + 'postorius.context_processors.postorius', + ], + }, + }, +] TEMPLATE_LOADERS = ( 'django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader',