From 3c9251b45afba7cdbbf34fb768b4074cf28c33af Mon Sep 17 00:00:00 2001 From: Swen Kooij Date: Sat, 19 Oct 2019 12:33:09 +0300 Subject: [PATCH] Remove dependency on dj_database_url --- requirements/test.txt | 1 - settings.py | 7 ++++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/requirements/test.txt b/requirements/test.txt index aed8204..9d774f2 100644 --- a/requirements/test.txt +++ b/requirements/test.txt @@ -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 diff --git a/settings.py b/settings.py index 063cefe..f910b8f 100644 --- a/settings.py +++ b/settings.py @@ -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'