1. Ramiro Morales
  2. django-sqlserver

Commits

Mikhail Denisenko  committed 2979b2a

fixed test_field_types on django 1.6

  • Participants
  • Parent commits e894c30
  • Branches default

Comments (0)

Files changed (1)

File sqlserver/pytds/introspection.py

View file
  • Ignore whitespace
         pytds.SYBFLT8: 'FloatField',
         pytds.SYBINT4: 'IntegerField',
         pytds.SYBINT8: 'BigIntegerField',
-        pytds.SYBINT2: 'IntegerField',
-        pytds.SYBINT1: 'IntegerField',
+        pytds.SYBINT2: 'SmallIntegerField',
+        pytds.SYBINT1: 'SmallIntegerField',
         pytds.XSYBVARCHAR: 'CharField',
         pytds.XSYBNVARCHAR: 'CharField',
         pytds.SYBTEXT: 'TextField',