From 4d8466be99acf06560b4d6a1fc83943c6c55860c Mon Sep 17 00:00:00 2001 From: "Christopher C. Wells" Date: Sun, 22 May 2022 15:24:04 -0700 Subject: [PATCH] Format code --- babybuddy/settings/render.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/babybuddy/settings/render.py b/babybuddy/settings/render.py index ba9093e2..d4aaeba9 100644 --- a/babybuddy/settings/render.py +++ b/babybuddy/settings/render.py @@ -2,7 +2,7 @@ import dj_database_url from .base import * -RENDER_EXTERNAL_HOSTNAME = os.environ.get('RENDER_EXTERNAL_HOSTNAME') +RENDER_EXTERNAL_HOSTNAME = os.environ.get("RENDER_EXTERNAL_HOSTNAME") if RENDER_EXTERNAL_HOSTNAME: ALLOWED_HOSTS.append(RENDER_EXTERNAL_HOSTNAME) CSRF_TRUSTED_ORIGINS.append("".join(["https://", RENDER_EXTERNAL_HOSTNAME])) @@ -12,8 +12,8 @@ if RENDER_EXTERNAL_HOSTNAME: # https://docs.djangoproject.com/en/4.0/ref/settings/#databases DATABASES = { - 'default': dj_database_url.config( - default='postgresql://postgres:postgres@localhost:5432/babybuddy', - conn_max_age=600 + "default": dj_database_url.config( + default="postgresql://postgres:postgres@localhost:5432/babybuddy", + conn_max_age=600, ) }