From 022a5aeccfd6da70b4722c2742c8b15c23ee3dac Mon Sep 17 00:00:00 2001 From: DinoBektesevic Date: Wed, 28 Apr 2021 13:55:40 -0700 Subject: [PATCH] Rebase on config and fix settings.py --- trail/trail/settings.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/trail/trail/settings.py b/trail/trail/settings.py index 0ad5ea6..ccbb9b5 100644 --- a/trail/trail/settings.py +++ b/trail/trail/settings.py @@ -88,12 +88,12 @@ DATABASES = { 'default': { - 'ENGINE': config.db.engine, - 'NAME' : config.db.name, - 'USER' : config.db.user, - 'PASSWORD' : config.db.password, - 'HOST' : config.db.host, - 'PORT' : config.db.port + 'ENGINE': dbConfig.engine, + 'NAME' : dbConfig.name, + 'USER' : dbConfig.user, + 'PASSWORD' : dbConfig.password, + 'HOST' : dbConfig.host, + 'PORT' : dbConfig.port } }