mirror of
https://github.com/Tivix/django-rest-auth.git
synced 2024-11-25 10:33:45 +03:00
Add a note in registration to use allauth urls if account email verification is mandatory
This commit is contained in:
parent
624ad01afb
commit
4d0f41096d
|
@ -61,6 +61,11 @@ Registration
|
|||
|
||||
- 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
|
||||
---------------------------
|
||||
|
|
Loading…
Reference in New Issue
Block a user