Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- DATABASES = {
- 'default': {
- 'ENGINE':'sql_server.pyodbc',
- 'NAME':'JTPROD',
- 'HOST':'TZACL5X8H1N2SQLEXPRESS', ##this is my local machine database
- 'USER':'xxx', ##ommitted for the post
- 'PASSWORD':'xxx',##ommitted for tht post
- 'PORT':'',
- 'OPTIONS':{
- 'provider': 'SQLOLEDB', # Have also tried 'SQLCLI11' and 'SQLCLI10'
- 'extra_params': 'DataTypeCompatibility=80',
- 'driver':'SQL Server',
- },
- },
- }
Add Comment
Please, Sign In to add comment