tests: Allow adding test templates

Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
Sunil Mohan Adapa 2020-02-06 00:27:32 -08:00 committed by James Valleroy
parent 67ac86899a
commit f1c4b2235a
No known key found for this signature in database
GPG Key ID: 77C0C75E7B650808

View File

@ -59,3 +59,9 @@ MIDDLEWARE = (
ROOT_URLCONF = 'plinth.tests.data.urls'
SECRET_KEY = 'django_tests_secret_key'
TEMPLATES = [{
'BACKEND': 'django.template.backends.django.DjangoTemplates',
'APP_DIRS': True,
'DIRS': ['plinth/tests/data/templates/'],
}]