Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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

click to hide/show revision 2
<django.utils.functional.__proxy__ object at 0x957edac>

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