Thursday, 4 March 2021

Resetting Password inside Django Save Function

I am currently using django rest password reset urls for my password reset needs and I have it attributed to a URL:

url("^password-reset/", include("django_rest_passwordreset.urls", namespace="password_reset")),

However, I would like to call this endpoint in a save method of a model using the email attributed to the user model. Is there any way to do something like this?



from Resetting Password inside Django Save Function

No comments:

Post a Comment