F
F
Friend2017-09-13 14:21:31
Django
Friend, 2017-09-13 14:21:31

How to implement email confirmation during registration?

How can this be implemented and is there a library or built-in feature in django for this?
Please send examples of implementation code

Answer the question

In order to leave comments, you need to log in

4 answer(s)
A
Alexey, 2017-09-13
@a1exDi

https://django-registration.readthedocs.io/en/2.2/...

A
AlexandrBirukov, 2017-09-13
@AlexandrBirukov

django-registration-redux - recently used, activation with confirmation by mail, you can customize your templates and various parameters, such as confirmation period, etc.

F
Fyodor Buzinov, 2017-09-13
@Feduch

django-allauth - supports activation via email and authorization via social networks.

U
usr_name, 2017-10-10
@usr_name

1. Add uuid to the user model
2. Set the is_active user flag to False
2. Create a view that will process the request: for example, verifyuser/%uuid%
3. If the incoming uuid is present in the database, then set the is_active user to True
Well, check on the site is_active to access certain parts of the site. Something like this

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question