Skip to content

Commit 37a4fa3

Browse files
committed
Remove unused db_options variable
1 parent 6fec0e3 commit 37a4fa3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/app/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@
265265

266266
# default to a sensible modern driver for Azure SQL
267267
if DATABASES['default'].get('ENGINE') == 'sql_server.pyodbc':
268-
db_options = DATABASES['default'].setdefault('OPTIONS', {})\
268+
DATABASES['default'].setdefault('OPTIONS', {})\
269269
.setdefault('driver', 'ODBC Driver 17 for SQL Server')
270270

271271
# Honor the 'X-Forwarded-Proto' header for request.is_secure()

0 commit comments

Comments
 (0)