Changed code that maps Python types to ADO types: "str" and "unicode" are no longer in the Python-to-ADO type map, we do an "isinstance(data, basestring)" instead, and fall back to the type map for non-string types.
Changed code that maps Python types to ADO types:
"str" and "unicode" are no longer in the Python-to-ADO type map, we do an "isinstance(data, basestring)" instead, and fall back to the type map for non-string types.

Strings retrieved as part of a custom tag are actually SafeUnicode instances, though they still derive from basestring.

theoriginalgri/django-mssql,theoriginalgri/django-mssql