From 1ce5bba789d17ba9c9b57976a79650b5ceefe9f8 Mon Sep 17 00:00:00 2001 From: Jannis Leidel Date: Sat, 3 Mar 2012 23:49:29 +0100 Subject: [PATCH] The DATABASES setting was enforced from 1.3 onwards. --- compressor/test_settings.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/compressor/test_settings.py b/compressor/test_settings.py index 99c281b..b14899d 100644 --- a/compressor/test_settings.py +++ b/compressor/test_settings.py @@ -5,7 +5,7 @@ TEST_DIR = os.path.join(os.path.abspath(os.path.dirname(__file__)), 'tests') COMPRESS_CACHE_BACKEND = 'locmem://' -if django.VERSION[:2] > (1, 2): +if django.VERSION[:2] >= (1, 3): DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', @@ -37,4 +37,3 @@ JENKINS_TASKS = ( 'django_jenkins.tasks.with_coverage', 'django_jenkins.tasks.django_tests', ) -