Make tests import from local setting to inherit the user's overrides.
Force tests to enable the DEBUG variable.
This commit is contained in:
@@ -1,9 +1,10 @@
|
|||||||
from __future__ import absolute_import, unicode_literals
|
from __future__ import absolute_import, unicode_literals
|
||||||
|
|
||||||
from ..base import * # NOQA
|
from .. import * # NOQA
|
||||||
|
|
||||||
|
DEBUG = True
|
||||||
INSTALLED_APPS += ('test_without_migrations',)
|
INSTALLED_APPS += ('test_without_migrations',)
|
||||||
TEMPLATE_LOADERS = (
|
TEMPLATES[0]['OPTIONS']['loaders'] = (
|
||||||
'django.template.loaders.filesystem.Loader',
|
'django.template.loaders.filesystem.Loader',
|
||||||
'django.template.loaders.app_directories.Loader'
|
'django.template.loaders.app_directories.Loader',
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user