Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
周伟奇
/
bmw-ocr
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
364772ed
authored
2020-11-12 22:59:41 +0800
by
周伟奇
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix bug
1 parent
550d86c1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletions
src/settings/__init__.py
src/settings/__init__.py
View file @
364772e
...
...
@@ -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
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment