i've included django-registration in my project's apps.
I've included in my project's settings
AUTH_PROFILE_MODULE = "people.Profile"
-- Trying to delete an User from admin interface,
I'm still getting this frustrating error message
IntegrityError at /admin/auth/user/X/delete/
update or delete on table "auth_user" violates foreign key constraint "registration_registrationprofile_user_id_fkey" on table "registration_registrationprofile"
DETAIL: Key (id)=(X) is still referenced from table "registration_registrationprofile".
The url /admin/auth/user/X/delete/ only shows
auth.User instance and profile.Profile instance to be deleted,
but the instance of this table (registration_registrationprofile) is not included and processed.
Any ideas?
Thank's
Peter
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/SdbX0J3O9NEJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
No comments:
Post a Comment