Commits

shaib  committed e4000c4

Include NullBooleanField in BooleanField fix

  • Participants
  • Parent commits 1923767

Comments (0)

Files changed (1)

File south/db/sql_server/pyodbc.py

         return None
 
     def _fix_field_definition(self, field):
-        if isinstance(field, fields.BooleanField):
+        if isinstance(field, (fields.BooleanField, fields.NullBooleanField)):
             if field.default == True:
                 field.default = 1
             if field.default == False: