Correct formatting to comply with black style guide

This commit is contained in:
Bruno Alla 2019-03-25 22:21:45 +00:00
parent 7c5c27ef78
commit 818b1af2b9

View File

@ -43,9 +43,7 @@ USE_TZ = True
DATABASES = {"default": env.db("DATABASE_URL")} DATABASES = {"default": env.db("DATABASE_URL")}
{%- else %} {%- else %}
DATABASES = { DATABASES = {
"default": env.db( "default": env.db("DATABASE_URL", default="postgres://{% if cookiecutter.windows == 'y' %}localhost{% endif %}/{{cookiecutter.project_slug}}")
"DATABASE_URL", default="postgres://{% if cookiecutter.windows == 'y' %}localhost{% endif %}/{{cookiecutter.project_slug}}"
),
} }
{%- endif %} {%- endif %}
DATABASES["default"]["ATOMIC_REQUESTS"] = True DATABASES["default"]["ATOMIC_REQUESTS"] = True