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

@ -6,5 +6,4 @@ psycopg2==2.7.3.2
coverage==4.4.2
flake8==3.6.0
pep8==1.7.1
dj-database-url==0.4.2
tox==2.9.1

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'