DEV Community

Vicente Antonio G. Reyes
Vicente Antonio G. Reyes

Posted on

TemplateResponseMixin requires either a definition of 'template_name' or an implementation of 'get_template_names()'

I'm using dj_rest_auth for authentication and when I click on the verify email link, this error comes out enter image description here

I overriden the ConfirmEmailView of django-allauth but still getting the error My views are:

class CustomConfirmEmailView(ConfirmEmailView):
    template_name = 'accounts/register.html'

Top comments (0)