Wednesday, May 1, 2013

Installing django-allauth

Hi,

I'm trying to install django-allauth in a new project (if anyone can recommend something else for any reason I'm open to suggestions)

when running syncdb it says that I need to use south migrate for the allauth apps

when running it throws an exception: django.db.utils.DatabaseError: table "socialaccount_socialapp" already exists

Apparently allauth has it's internal migrations in the vcs, but it doesn't support migrations

it looks like the app socialaccount has migration 1 - initial and then migration 7 - initial
so of course when trying to run 7 it tries to create the table again, and fails.

an easy solution would be to delete allauth migration folder, but this would mean to clone it and maintain yet another fork, and having headaches when updating it.

does anyone reccomend a workaround/solution to this?

--
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+unsubscribe@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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment