Browse Source

Remove unused db_options variable

pull/422/head
Clemens Wolff 5 years ago
parent
commit
37a4fa3cb5
1 changed files with 1 additions and 1 deletions
  1. 2
      app/app/settings.py

2
app/app/settings.py

@ -265,7 +265,7 @@ if DATABASES['default'].get('ENGINE') == 'django.db.backends.sqlite3':
# default to a sensible modern driver for Azure SQL
if DATABASES['default'].get('ENGINE') == 'sql_server.pyodbc':
db_options = DATABASES['default'].setdefault('OPTIONS', {})\
DATABASES['default'].setdefault('OPTIONS', {})\
.setdefault('driver', 'ODBC Driver 17 for SQL Server')
# Honor the 'X-Forwarded-Proto' header for request.is_secure()

Loading…
Cancel
Save