Make tests import from local setting to inherit the user's overrides.

Force tests to enable the DEBUG variable.
This commit is contained in:
Roberto Rosario
2016-12-22 03:37:36 -04:00
parent 9b3b54eb75
commit 2f2c5d5b09

View File

@@ -1,9 +1,10 @@
from __future__ import absolute_import, unicode_literals
from ..base import * # NOQA
from .. import * # NOQA
DEBUG = True
INSTALLED_APPS += ('test_without_migrations',)
TEMPLATE_LOADERS = (
TEMPLATES[0]['OPTIONS']['loaders'] = (
'django.template.loaders.filesystem.Loader',
'django.template.loaders.app_directories.Loader'
'django.template.loaders.app_directories.Loader',
)