Error When Trying To Migrate Django Application With South
I am getting this error when running './manage.py migrate app_name' While loading migration 'whatever.0001_initial': Traceback (most recent call last): File 'manage.py', line 14,
Solution 1:
The problem seemed to be with the order of models in the 0001_initial.py file. There was a class which derived from AppUser. When I re-created the migration on Mac OS with
manage.py startmigration app --initial
and compared that to one generated on Ubuntu the order of models was different. So when I changed the order to match the one on Mac OS, everything worked fine.
This problem seems to exist only in 0.5 version of south and is supposedly fixed on trunk.
Post a Comment for "Error When Trying To Migrate Django Application With South"