Skip to content

Commit 3d7f52a

Browse files
committed
db_settings['OPTIONS']
1 parent 2ef2136 commit 3d7f52a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/mongodb_settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
# Workaround for https://github.com/mongodb-labs/mongo-orchestration/issues/268
99
if db_settings["USER"] and db_settings["PASSWORD"]:
10-
db_settings.update({"tls": True, "tlsAllowInvalidCertificates": True})
10+
db_settings["OPTIONS"].update({"tls": True, "tlsAllowInvalidCertificates": True})
1111
DATABASES = {
1212
"default": {**db_settings, "NAME": "djangotests"},
1313
"other": {**db_settings, "NAME": "djangotests-other"},

0 commit comments

Comments
 (0)