From df4acac91b0d3b35814ab5ff636b1d9490890731 Mon Sep 17 00:00:00 2001 From: Nuung Date: Sat, 7 Dec 2024 23:54:09 +0900 Subject: [PATCH] =?UTF-8?q?modify:=20=ED=95=84=EC=88=98=20=ED=99=98?= =?UTF-8?q?=EA=B2=BD=20=EB=B3=80=EC=88=98=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backoffice/settings/base.py | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/backoffice/settings/base.py b/backoffice/settings/base.py index d977944..fee701f 100644 --- a/backoffice/settings/base.py +++ b/backoffice/settings/base.py @@ -90,12 +90,14 @@ DATABASES = { "default": { - "ENGINE": env("DATABASE_ENGINE"), - "NAME": env("POSTGRES_NAME"), - "USER": env("POSTGRES_USER"), - "PASSWORD": env("POSTGRES_PASSWORD"), - "HOST": env("POSTGRES_HOST"), - "PORT": env("POSTGRES_PORT"), + "ENGINE": env( + "DATABASE_ENGINE", default="django.db.backends.postgresql" + ), + "NAME": env("POSTGRES_NAME", default="postgres"), + "USER": env("POSTGRES_USER", default="postgres"), + "PASSWORD": env("POSTGRES_PASSWORD", default="postgres"), + "HOST": env("POSTGRES_HOST", default="localhost"), + "PORT": env("POSTGRES_PORT", default="5432"), } }