diff --git a/rest_auth/registration/urls.py b/rest_auth/registration/urls.py index 2fef5d7..071c2e5 100644 --- a/rest_auth/registration/urls.py +++ b/rest_auth/registration/urls.py @@ -18,6 +18,6 @@ urlpatterns = [ # If you don't want to use API on that step, then just use ConfirmEmailView # view from: # django-allauth https://github.com/pennersr/django-allauth/blob/master/allauth/account/views.py - re_path('account-confirm-email/(?P[-:\w]+)/', TemplateView.as_view(), + re_path(r'account-confirm-email/(?P[-:\w]+)/', TemplateView.as_view(), name='account_confirm_email'), ]