Unable to add second user after fresh install and using postgresql
I am getting the following error. I was able to add myself as super user. I then visited Admin portal and tried to add a staff member.
IntegrityError at /admin/auth/user/2/
update or delete on table "auth_user_groups" violates foreign key constraint "authusergroups_ptr_id_refs_id_e728db87" on table "askbot_groupmembership"
DETAIL: Key (id)=(3) is still referenced from table "askbot_groupmembership".
Request Method: POST
Request URL: http://127.0.0.18888/admin/auth/user/2/
Django Version: 1.5
Exception Type: IntegrityError
Exception Value:
update or delete on table "auth_user_groups" violates foreign key constraint "authusergroups_ptr_id_refs_id_e728db87" on table "askbot_groupmembership"
DETAIL: Key (id)=(3) is still referenced from table "askbot_groupmembership".
Exception Location: /usr/local/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py in _commit, line 240
Python Executable: /usr/bin/python
Python Version: 2.7.3
Comments