Error when saving user information

asked 2013-02-02 16:25:56 -0500

oscarfh's avatar

updated 2013-02-02 16:54:45 -0500

Evgeny's avatar

When I try to save a user in the /admin/ area I get this error:

update or delete on table "auth_user_groups" violates foreign key constraint "authusergroups_ptr_id_refs_id_695c01d17902b95c" on table "askbot_groupmembership" DETAIL: Key (id)=(1) is still referenced from table "askbot_groupmembership".

I ran the DB migration and everything as expected. Any ideas how could I fix it? It is running on heroku and postgres.

thanks, Oscar

edit retag flag offensive close merge delete



This is the same problem as referenced on the IntegrityError when updating user ( question. I'm also having this problem.

apalazon's avatar apalazon  ( 2013-02-15 03:16:56 -0500 )edit

I am also having this problem, I would love to see resolution for this.

cooperq's avatar cooperq  ( 2013-05-02 16:31:27 -0500 )edit