mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-07-16 11:02:22 +03:00
Update {{cookiecutter.project_slug}}/config/settings/base.py
Co-authored-by: Bruno Alla <browniebroke@users.noreply.github.com>
This commit is contained in:
parent
d275ac29bd
commit
6e6d32791b
|
@ -55,7 +55,7 @@ else:
|
|||
"NAME": env.str("POSTGRES_DB"),
|
||||
"USER": env.str("POSTGRES_USER"),
|
||||
"PASSWORD": env.str("POSTGRES_PASSWORD"),
|
||||
"HOST": env.str("POSTGRES_HOST", default="{% if cookiecutter.windows == 'y' or cookiecutter.use_docker == 'n' %}localhost{%else%}postgres{% endif %}"),
|
||||
"HOST": env.str("POSTGRES_HOST", default="{% if cookiecutter.windows == 'y' and cookiecutter.use_docker == 'n' %}localhost{%else%}postgres{% endif %}"),
|
||||
"PORT": env.str("POSTGRES_PORT", default="5432"),
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user