Commits

Daniel LaMotte  committed 5bd2a78

respect PORT setting in Django DATABASES settings

  • Participants
  • Parent commits efaba86

Comments (0)

Files changed (1)

File sqlserver/pymssql/base.py

             host=settings_dict['HOST'],
             database=settings_dict['NAME'],
             user=settings_dict['USER'],
+            port=settings_dict.get('PORT', '1433'),
             password=settings_dict['PASSWORD'],
             timeout=self.command_timeout,
             charset='utf8',