First time here? Check out the FAQ!

Revision history  [back]

Error when saving user information

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

Error when saving user information

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