From 98b818606c9bdac23b1380275ca3cfed0a07f70b Mon Sep 17 00:00:00 2001 From: Ngure Nyaga Date: Tue, 13 Jul 2021 03:40:08 +0300 Subject: [PATCH] fix: set default db connection values --- config/settings/base.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/config/settings/base.py b/config/settings/base.py index 333b6c46..9e03ec63 100644 --- a/config/settings/base.py +++ b/config/settings/base.py @@ -49,10 +49,10 @@ # https://docs.djangoproject.com/en/dev/ref/settings/#databases DATABASES = { "default": { - "NAME": env.str("POSTGRES_DB"), - "USER": env.str("POSTGRES_USER"), - "PASSWORD": env.str("POSTGRES_PASSWORD"), - "HOST": env.str("POSTGRES_HOST"), + "NAME": env.str("POSTGRES_DB", "mle"), + "USER": env.str("POSTGRES_USER", "user"), + "PASSWORD": env.str("POSTGRES_PASSWORD", "somesecret"), + "HOST": env.str("POSTGRES_HOST", "localhost"), "PORT": env.str("POSTGRES_PORT", None), "ENGINE": "django.db.backends.postgresql", "ATOMIC_REQUESTS": True,