So I've added a field to the models.__init__ file using the dynamic mechanism of add_to_class()
Eg
#askbot-devel/askbot/models/__init__.py
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
$ ./manage.py 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?
Create your Q&A site at askbot.com. Managed Askbot hosting at just $15/mo. Dedicated hosting, support contracts, consulting services.
create your Q&A siteAsked: 2012-04-29 08:19:27 -0500
Seen: 69 times
Last updated: Apr 29 '12
Copyright Askbot, 2010-2011. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.