a2186b9b by 冯轩

Merge branch 'feature/mssql-encrypt' into fix/2024-05-pen-test

2 parents 2a6f1ebb 721e7d5b
......@@ -100,7 +100,7 @@ DATABASES = {
for db_setting in DATABASES.values():
db_setting['OPTIONS'] = {
'driver': 'ODBC Driver 17 for SQL Server',
'extra_params': "odbc_cursortype=2"
'extra_params': "odbc_cursortype=2;TrustServerCertificate=yes;Encrypt=yes"
}
# set this to False if you want to turn off pyodbc's connection pooling
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!