summaryrefslogtreecommitdiff
path: root/tests/django_test_app/__init__.py
diff options
context:
space:
mode:
authorRaphaël Barrois <raphael.barrois@polytechnique.org>2019-08-18 18:45:16 +0200
committerRaphaël Barrois <raphael.barrois@polytechnique.org>2019-08-24 15:13:09 +0200
commitea98f9fb7c76264df5e600ed597b79713e6cb2ce (patch)
tree22f774aa4b31d97554d550b4ac40dd7c4b7b12f8 /tests/django_test_app/__init__.py
parent65d76a46cb1898d9a0dc5c20baf9e014fe974fd8 (diff)
downloadsemantic-version-ea98f9fb7c76264df5e600ed597b79713e6cb2ce.tar.gz
Drop support for Python<3.4.
Diffstat (limited to 'tests/django_test_app/__init__.py')
-rw-r--r--tests/django_test_app/__init__.py19
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)