I\'m trying to modify a M2M field to a ForeignKey field. The command validate shows me no issues and when I run syncdb :
ValueError: Cannot alter field xxx i
I literally had the same error for days and i had tried everything i saw here but still didn'y work. This is what worked for me: