Commits

Andrew Godwin committed 8ee701c

Fix #368: Use keep_default=False

Comments (0)

Files changed (1)

south/creator/actions.py

     
     FORWARDS_TEMPLATE = '''
         # Adding field '%(model_name)s.%(field_name)s'
-        db.add_column(%(table_name)r, %(field_name)r, %(field_def)s)'''
+        db.add_column(%(table_name)r, %(field_name)r, %(field_def)s, keep_default=False)'''
     
     BACKWARDS_TEMPLATE = '''
         # Deleting field '%(model_name)s.%(field_name)s'