I have a Django application I have implemented this registration flow for but the flow has recently been changed.
The new flow requires that when a user registers, a verification email should be sent and after he/she verifies, a notification email should be sent to the admin, but he/she shouldn't be able to login until the admin approves it followed by a notification email.
How can I achieve this without using libraries/apps such as Django-registration-redux and Django-allauth? Please, include working snippets. I
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I have a Django application I have implemented this registration flow for but the flow has recently been changed.
The new flow requires that when a user registers, a verification email should be sent and after he/she verifies, a notification email should be sent to the admin, but he/she shouldn't be able to login until the admin approves it followed by a notification email.
How can I achieve this without using libraries/apps such as Django-registration-redux and Django-allauth? Please, include working snippets. I