mirror of
https://github.com/Hopiu/django-model-utils.git
synced 2026-03-16 20:00:23 +00:00
set deafult DB_host as localhost
This commit is contained in:
parent
e4629a013d
commit
b65a2ee41d
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
},
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue