Skip to content

Commit 9751053

Browse files
committed
debug: print the sslmode
Signed-off-by: Anju Pathak <anjupathak9810@gmail.com>
1 parent 906b2a2 commit 9751053

File tree

1 file changed

+1
-0
lines changed
  • django-postgres/django_postgres/django_postgres

1 file changed

+1
-0
lines changed

django-postgres/django_postgres/django_postgres/settings.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ def _db_options_from_env():
7777
"""
7878
opts = {}
7979
sslmode = os.getenv("DB_SSLMODE", "disable").strip()
80+
print("DB_SSLMODE is:", sslmode)
8081
if sslmode and sslmode.lower() != "disable":
8182
# Common values: require | verify-ca | verify-full
8283
opts["sslmode"] = sslmode

0 commit comments

Comments
 (0)