Update urls.py

This commit is contained in:
shashi 2022-05-04 21:38:40 +05:30 committed by GitHub
parent bd369aa6ef
commit 3a82ffc511
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,6 +18,6 @@ urlpatterns = [
# If you don't want to use API on that step, then just use ConfirmEmailView # If you don't want to use API on that step, then just use ConfirmEmailView
# view from: # view from:
# django-allauth https://github.com/pennersr/django-allauth/blob/master/allauth/account/views.py # django-allauth https://github.com/pennersr/django-allauth/blob/master/allauth/account/views.py
re_path('account-confirm-email/(?P<key>[-:\w]+)/', TemplateView.as_view(), re_path(r'account-confirm-email/(?P<key>[-:\w]+)/', TemplateView.as_view(),
name='account_confirm_email'), name='account_confirm_email'),
] ]