What to do when user forgot the password? We need to have a reset password view. User enters there her email address and email with reset link is sent. The reset link contains special information like uid
and token
. When user clicks the reset link, the reset password confirm view is displayed. This view takes the uid
and token
from the link and a new password and send POST
request to the Django server to set a new password. In this post, we will create the reset password functionality with Django Rest Framework and Djoser package.
Django and React Tutorial
Learn how to write SaaS application with Django and React from scratch
Contact us for any questions by filling a form
or
email.
Topic: Password
-
Django Rest Framework Reset Password
Django-rest-framework Backend Boilerplate Password Piotr Płoński, December 29, 2020