Remove dependency on dj_database_url

This commit is contained in:
Swen Kooij
2019-10-19 12:33:09 +03:00
parent 1fad9fd3b1
commit 3c9251b45a
2 changed files with 4 additions and 4 deletions

View File

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