anexia-it / django-rest-passwordreset

An extension of django rest framework, providing a configurable password reset strategy
BSD 3-Clause "New" or "Revised" License
419 stars 148 forks source link

django.db.utils.IntegrityError: (1062, "Duplicate entry '48-view_resetpasswordtoken' for key 'auth_permission_content_type_id_codename_01ab375a_uniq'") #132

Open hanifsarwary opened 3 years ago

hanifsarwary commented 3 years ago

While migrating I am facing this exception. I have explicitly checked the auth_permission table for duplicate entries but I am unable to find any. can someone help me out for this.

nezhar commented 3 years ago

Does this happen when 0002_pk_migration is applied? Some details regarding the Version of Django and DRF would be helpfull :slightly_smiling_face: