简体   繁体   中英

Django DRF: How to enable activation code for reset password using djoser

I have been successfully able to setup a Django app with Djoser token based authentication. I want to generate a activation code / url and make the user activate through that code / link for account activation or reset password.

The Base Endpoints explains how to enable and utilize the activation using the endpoints. But how do I get to create the db models and generate activation code for the users? Am I missing something ?

Activation code is generated by djoser.email.ActivationEmail view

You only concern should be to run database migrations

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM