diff --git a/cabot/settings.py b/cabot/settings.py index 7fc5108..3d0032e 100644 --- a/cabot/settings.py +++ b/cabot/settings.py @@ -22,8 +22,7 @@ if os.environ.get('CABOT_FROM_EMAIL'): DATABASES = {'default': dj_database_url.parse(os.environ["DATABASE_URL"])} -if not DEBUG: - DATABASES['default']['OPTIONS'] = {'autocommit': True} +TEST_RUNNER = 'django.test.runner.DiscoverRunner' URL_PREFIX = os.environ.get('URL_PREFIX', '/').rstrip("/") diff --git a/requirements.txt b/requirements.txt index 66a5481..84fb1a9 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5,7 +5,7 @@ amqp<2.0 anyjson==0.3.3 argparse==1.2.1 celery[redis]==3.1.23 -dj-database-url==0.2.2 +dj-database-url==0.4.2 django-appconf==0.6 django-celery==3.1.17 django-compressor==1.4