From 4d0f41096d5ef88c15daa25ed67c6e7cb2a818d5 Mon Sep 17 00:00:00 2001 From: Bruno Michetti Date: Wed, 9 Oct 2019 17:13:15 -0300 Subject: [PATCH] Add a note in registration to use allauth urls if account email verification is mandatory --- docs/api_endpoints.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/api_endpoints.rst b/docs/api_endpoints.rst index 46d2a05..c62b006 100644 --- a/docs/api_endpoints.rst +++ b/docs/api_endpoints.rst @@ -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 ---------------------------