ImproperlyConfigured at /api/v1/auth/registration/account-email-verification-sent/
im-srj opened this issue · 0 comments
im-srj commented
I'm getting this error when trying to signup after updating dj-rest-auth package to 3.0.0 from 1.1.0.
main urls.py
from allauth.account.views import confirm_email
from dj_rest_auth.registration.views import VerifyEmailView
from dj_rest_auth.views import PasswordResetConfirmView
from django.urls import include, path, re_path][1]][1]
path("api/v1/auth/", include("dj_rest_auth.urls")),
path(
"api/v1/auth/registration/", include("dj_rest_auth.registration.urls")
),
path("api/v1/auth/registration/verify-email/", VerifyEmailView.as_view()),
path(
"api/v1/auth/password/reset/confirm/<slug:uidb64>/<slug:token>/",
PasswordResetConfirmView.as_view(),
name="password_reset_confirm",
),
re_path(
r"^api/v1/auth/accounts-rest/registration/account-confirm-email/(?P<key>.+)/$",
confirm_email,
name="account_confirm_email",
),
raise ImproperlyConfigured(
django.core.exceptions.ImproperlyConfigured: TemplateResponseMixin requires either a definition of 'template_name' or an implementation of 'get_template_names()'`