Closed MohamedMegid closed 4 years ago
How to unregister django-rest-passwordreset or applying permissions not to add new forget password row in database using the admin panel or change the list of forgotable passwords (in django admin panel).
I found the solution:
from django_rest_passwordreset.models import ResetPasswordToken
admin.site.unregister(ResetPasswordToken)
Thanks
How to unregister django-rest-passwordreset or applying permissions not to add new forget password row in database using the admin panel or change the list of forgotable passwords (in django admin panel).