Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial South Migration fails. #1

Open
airtonix opened this issue Jul 4, 2011 · 1 comment
Open

Initial South Migration fails. #1

airtonix opened this issue Jul 4, 2011 · 1 comment

Comments

@airtonix
Copy link

airtonix commented Jul 4, 2011

django.1.3
pip install of this git repo

 ./project/manage.py schemamigration --initial profiles

...

 ! Cannot freeze field 'profiles.userprofile.country'
 ! (this field has class userprofile.countries.CountryField)

 ! South cannot introspect some fields; this is probably because they are custom
 ! fields. If they worked in 0.6 or below, this is because we have removed the
 ! models parser (it often broke things).
 ! To fix this, read http://south.aeracode.org/wiki/MyFieldsDontWork
@iqbalhasnan
Copy link

add this to the userprofile models.py and rerun the south migration

from south.modelsinspector import add_introspection_rules
add_introspection_rules([], ["^userprofile.countries\CountryField"])

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants