Using python south with add_to_class()

asked 2012-04-29 08:19:27 -0600

powlo gravatar image

So I've added a field to the models.__init__ file using the dynamic mechanism of add_to_class()


User.add_to_class('show_interesting_tags', models.BooleanField(default = False))

I want this modification to be picked up when I run South, which I would normally do by

$ ./ schemamigration askbot --auto
Nothing seems to have changed.

As you can see it doesn't pick up the changes.

Any ideas? For instance how was the field 'show_country' added to the migration?

edit retag flag offensive close merge delete


I'm having the same exact issue, any clue?

Andreu gravatar imageAndreu ( 2014-06-12 02:49:14 -0600 )edit