As we seen in different websites, After user's sign-up it sends an activation code with 6/5 character to user's email. User should submit the code in the website to activate their account. I am trying to do the same thing but can't figure it out how to do it in django-rest-framework using djoser.
Currently, I am using Djoser for registration and activation. Djoser sends activation URL in the email; which activates the account when clicked on and It's working fine.
How can I can send a 6 character alphanumeric code for activation to the user, instead of sending the whole URL?
I'm using: django-rest-framework, django-rest-framework-jwt, djoser