Not sure if this is a bug , so I'll report it here.

After upgrading to Django 1.7 and running all the migrations, I removed 
South from the installed apps.
This led to to this error popping up on every migration:

 duplicate key value violates unique constraint 
> "auth_permission_content_type_id_codename_key"


It turned out that the table Django_content_type still had a South 
migrations entry and that this was referenced by a bunch of South 
permissions in auth_permissions.

I fixed this by removing the content_type and the permission entries. 
Hopefully this is not happening for everyone that upgrades.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/f44cc5cb-6c73-4825-986c-00f99fee8fda%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to