DEV Community

Vicente G. Reyes
Vicente G. Reyes

Posted on

1

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)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay