set deafult DB_host as localhost

This commit is contained in:
Ghassan Maslamani 2021-10-08 16:09:04 +03:00 committed by Asif Saif Uddin
parent e4629a013d
commit b65a2ee41d

View file

@ -10,7 +10,7 @@ DATABASES = {
"NAME": os.environ.get("DB_NAME", "modelutils"),
"USER": os.environ.get("DB_USER", 'postgres'),
"PASSWORD": os.environ.get("DB_PASSWORD", ""),
"HOST": os.environ.get("DB_HOST", ""),
"HOST": os.environ.get("DB_HOST", "localhost"),
"PORT": os.environ.get("DB_PORT", 5432)
},
}