From 8716a3108a618db1c4c2d33d8b85e440a7360f4a Mon Sep 17 00:00:00 2001 From: Tom Pansino <2768420+tpansino@users.noreply.github.com> Date: Wed, 23 Nov 2022 18:38:58 -0800 Subject: [PATCH] Fix formatting --- babybuddy/settings/base.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/babybuddy/settings/base.py b/babybuddy/settings/base.py index 811ff882..2a25c424 100644 --- a/babybuddy/settings/base.py +++ b/babybuddy/settings/base.py @@ -268,7 +268,9 @@ if os.environ.get("SECURE_PROXY_SSL_HEADER"): # https://docs.djangoproject.com/en/4.0/topics/http/sessions/#settings SESSION_COOKIE_HTTPONLY = True -SESSION_COOKIE_SECURE = bool(strtobool(os.environ.get("SESSION_COOKIE_SECURE") or "False")) +SESSION_COOKIE_SECURE = bool( + strtobool(os.environ.get("SESSION_COOKIE_SECURE") or "False") +) # https://docs.djangoproject.com/en/4.0/ref/csrf/#settings CSRF_COOKIE_HTTPONLY = True