Import from https://bitbucket.org/cramm/django-sqlserver