Remove unused TEMPLATE_LOADERS setting, in favor of TEMPLATES.

This commit is contained in:
Tom Christie 2016-06-01 13:57:27 +01:00
parent c65c5e4b2c
commit 7ece633831

View File

@ -3,18 +3,18 @@ def pytest_configure():
settings.configure(
DEBUG_PROPAGATE_EXCEPTIONS=True,
DATABASES={'default': {'ENGINE': 'django.db.backends.sqlite3',
'NAME': ':memory:'}},
DATABASES={
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': ':memory:'
}
},
SITE_ID=1,
SECRET_KEY='not very secret in tests',
USE_I18N=True,
USE_L10N=True,
STATIC_URL='/static/',
ROOT_URLCONF='tests.urls',
TEMPLATE_LOADERS=(
'django.template.loaders.filesystem.Loader',
'django.template.loaders.app_directories.Loader',
),
TEMPLATES = [
{
'BACKEND': 'django.template.backends.django.DjangoTemplates',
@ -33,7 +33,6 @@ def pytest_configure():
'django.contrib.sessions',
'django.contrib.sites',
'django.contrib.staticfiles',
'rest_framework',
'rest_framework.authtoken',
'tests',