Similar to this question:
My current database configurations looks like this:
'default': {
'ENGINE': "sql_server.pyodbc",
'HOST': "myServer\server1",
'USER': "myUserName",
'PASSWORD': "myPassWord",
'NAME': "myDB"
However, I would like to pass through Windows Authentication so that I can keep track of who is making changes to the DB. I have Windows Authentication enabled through IIS, so users are prompted to login when they visit my app. I have tried this, but it did not work:
'default': {
'ENGINE': "sql_server.pyodbc",
'HOST': "myServer\server1",
'trusted_connection': 'yes'
'NAME': "myDB"
Is there a way to pass through windows authentication to the Django database settings?