Browse files

Remove pre-1.2 test settings.

  • Loading branch information...
1 parent f2db5fc commit 498e20211b6af1c1bdb83a7b2dc68fe1139d7def @carljm committed Feb 2, 2012
Showing with 4 additions and 7 deletions.
  1. +4 −7 runtests.py
View
11 runtests.py
@@ -6,21 +6,18 @@
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)

0 comments on commit 498e202

Please sign in to comment.