Commits

Carl Meyer committed 2778be7

Remove pre-1.2 test settings.

  • Participants
  • Parent commits d4ec35a

Comments (0)

Files changed (1)

 
 
 if not settings.configured:
-    from django import VERSION
     settings_dict = dict(
         INSTALLED_APPS=(
             'django.contrib.contenttypes',
             'model_utils',
             'model_utils.tests',
             ),
-        )
-    if VERSION >= (1, 2):
-        settings_dict["DATABASES"] = {
+        DATABASES={
             "default": {
                 "ENGINE": "django.db.backends.sqlite3"
-                }}
-    else:
-        settings_dict["DATABASE_ENGINE"] = "sqlite3"
+                }
+            },
+        )
 
     settings.configure(**settings_dict)