diff options
Diffstat (limited to 'tests/django_test_app/__init__.py')
-rw-r--r-- | tests/django_test_app/__init__.py | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/tests/django_test_app/__init__.py b/tests/django_test_app/__init__.py index 0f94470..4506810 100644 --- a/tests/django_test_app/__init__.py +++ b/tests/django_test_app/__init__.py @@ -9,22 +9,3 @@ try: # pragma: no cover except ImportError: # pragma: no cover django_loaded = False - -if django_loaded: # pragma: no cover - if not settings.configured: - settings.configure( - DATABASES={ - 'default': { - 'ENGINE': 'django.db.backends.sqlite3', - 'NAME': 'tests/db/test.sqlite', - } - }, - INSTALLED_APPS=[ - 'tests.django_test_app', - ], - MIDDLEWARE_CLASSES=[], - ) - # https://docs.djangoproject.com/en/dev/releases/1.7/#app-loading-changes - if django.VERSION >= (1, 7): - from django.apps import apps - apps.populate(settings.INSTALLED_APPS) |