Ticket #324 (closed defect: fixed)
M2M join table not created with Django 1.2 alpha 1
|Reported by:||graham@…||Owned by:||andrew|
After adding a "Team" table with a M2M relation to an existing model "Competitor" in the same 'fantasy' app, I created a migration. Upon migrating this change I saw the following error:
C:\dev\fc3>manage.py migrate fantasy
Running migrations for fantasy:
Migrating forwards to 0013_add-team.
Loading initial data for fantasy.
Error: One or more models did not validate: fantasy.team: 'competitors' specifies an m2m relation through model <class 'fc3.fantasy.models.team_competitors'>, which has not been installed.
I'm using Django trunk, #12293. I'm using the latest South, as of 25 January 2010. The models are:
- Status changed from new to assigned
- Milestone set to 0.7