Skip to content

Commit 9b0d78e

Browse files
committed
fix mysql ssl_mode by defult issue
1 parent a407449 commit 9b0d78e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/project/settings.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@
103103
# Database
104104
# https://docs.djangoproject.com/en/3.1/ref/settings/#databases
105105

106-
db_options = {}
106+
db_options = {"ssl_mode": "REQUIRED"}
107107

108108
DATABASES = {
109109
"default": {

0 commit comments

Comments
 (0)