364772ed by 周伟奇

fix bug

1 parent 550d86c1
......@@ -98,9 +98,12 @@ DATABASES = {
for db_setting in DATABASES.values():
db_setting['OPTIONS'] = {
'driver': 'ODBC Driver 17 for SQL Server'
'driver': 'ODBC Driver 17 for SQL Server',
'extra_params': "odbc_cursortype=2"
}
# set this to False if you want to turn off pyodbc's connection pooling
DATABASE_CONNECTION_POOLING = True
DATABASE_ROUTERS = ['settings.database.DBRouter']
# MYSQLPOOL_ARGUMENTS = database.MYSQLPOOL_ARGUMENTS
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!