-
-
Save brunomichetti/645aefe416a90774e9c7264edd2fecc2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Your urls file | |
... | |
from dj_rest_auth.registration.views import VerifyEmailView, ConfirmEmailView | |
... | |
urlpatterns = [ | |
... | |
path( | |
'dj-rest-auth/registration/account-confirm-email/<str:key>/', | |
ConfirmEmailView.as_view(), | |
), # Needs to be defined before the registration path | |
path('dj-rest-auth/registration/', include('dj_rest_auth.registration.urls')), | |
path('dj-rest-auth/account-confirm-email/', VerifyEmailView.as_view(), name='account_email_verification_sent'), | |
... | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment