Add back dj-database-url, need it for CI

This commit is contained in:
Swen Kooij
2019-10-19 13:08:39 +03:00
parent 19f0ddb336
commit e56a0697b3
2 changed files with 4 additions and 4 deletions

View File

@@ -1,3 +1,5 @@
import dj_database_url
DEBUG = True
TEMPLATE_DEBUG = True
@@ -6,10 +8,7 @@ SECRET_KEY = 'this is my secret key' # NOQA
TEST_RUNNER = 'django.test.runner.DiscoverRunner'
DATABASES = {
'default': {
'HOST': '127.0.0.1',
'NAME': 'localized_fields',
},
'default': dj_database_url.config(default='postgres:///psqlextra'),
}
DATABASES['default']['ENGINE'] = 'psqlextra.backend'