Skip to content Skip to sidebar Skip to footer

Django South Migration Error Relation "photo_photo" Already Exists

I am using Django South.I am following the tutorial of http://south.readthedocs.org/en/latest/tutorial/part1.html first of all i want to give some information about my project and

Solution 1:

Sounds like that migration has already been applied and the database thinks it hasn't. You can always migrate --fake to just update the table in the database without trying to apply the migration.

In your case, it looks like you need to (at least) python manage.py migrate photo --fake 0002. You may have to do this for more than one migration depending on how many you have and what you've done.


Post a Comment for "Django South Migration Error Relation "photo_photo" Already Exists"