Why does South not recognize changes in default field values in Python models? For example, take this existing model that is migrated with south:
class MyFamily(models.Model):
family_size = models.IntegerField(verbose_name="What is your family size?", default=2)
Now, I'd like to change the default value from two to four. However, when schemamigrating the module, South reports:
python manage.py schemamigration family --auto change_default_from_two_to_four_for_size
Running migrations for family:
- Nothing to migrate.
- Loading initial data for family.
I could manually update the initial migration, and use the SQL to directly update the field, but that's a pain. Is there a South command I haven't found that recognizes the change in the default?
Thanks!