Skip to content

Commit

Permalink
Merge pull request #20 from anuj9196/master
Browse files Browse the repository at this point in the history
Note in docs to add allauth urls if account email verification is man…
  • Loading branch information
iMerica committed Mar 31, 2020
2 parents 68dbdf7 + 3c89660 commit d9996a7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/api_endpoints.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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 dj_rest_auth.registration.views import VerifyEmailView``. Then add the url with the corresponding name:
``url(r'^dj-rest-auth/account-confirm-email/', VerifyEmailView.as_view(), name='account_email_verification_sent')`` to the urlpatterns list.



Social Media Authentication
---------------------------
Expand Down

0 comments on commit d9996a7

Please sign in to comment.