Add a note in registration to use allauth urls if account email verification is mandatory

This commit is contained in:
Bruno Michetti 2019-10-09 17:13:15 -03:00
parent 624ad01afb
commit 4d0f41096d

View File

@ -61,6 +61,11 @@ Registration
- key - key
.. note:: If you set account email verification as mandatory, you have to add the VerifyEmailView with the used `name`.
You need to import the view: ``from rest_auth.registration.views import VerifyEmailView``. Then add the url with the corresponding name:
``url(r'^rest-auth/account-confirm-email/', VerifyEmailView.as_view(), name='account_email_verification_sent')`` to the urlpatterns list.
Social Media Authentication Social Media Authentication
--------------------------- ---------------------------