fix: Remove DB URL instantiation completely in Production

This commit is contained in:
adinhodovic 2022-12-06 18:53:24 +01:00
parent fb8efe8e20
commit d93719313c

View File

@ -22,9 +22,6 @@ ALLOWED_HOSTS = env.list("DJANGO_ALLOWED_HOSTS", default=["{{ cookiecutter.domai
# DATABASES
# ------------------------------------------------------------------------------
{% if cookiecutter.use_docker == "n" -%}
DATABASES["default"] = env.db("DATABASE_URL") # noqa F405
{%- endif %}
DATABASES["default"]["CONN_MAX_AGE"] = env.int("CONN_MAX_AGE", default=60) # noqa F405
# CACHES