Guest User

Untitled

a guest
Oct 22nd, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. DATABASES = {
  2. 'default': {
  3. 'ENGINE':'sql_server.pyodbc',
  4. 'NAME':'JTPROD',
  5. 'HOST':'TZACL5X8H1N2SQLEXPRESS', ##this is my local machine database
  6. 'USER':'xxx', ##ommitted for the post
  7. 'PASSWORD':'xxx',##ommitted for tht post
  8. 'PORT':'',
  9.  
  10. 'OPTIONS':{
  11. 'provider': 'SQLOLEDB', # Have also tried 'SQLCLI11' and 'SQLCLI10'
  12. 'extra_params': 'DataTypeCompatibility=80',
  13. 'driver':'SQL Server',
  14. },
  15. },
  16. }
Add Comment
Please, Sign In to add comment