Error in Login.html

Hi I am having problems with login I couldnt access to it TemplateDoesNotExist at /accounts/login/ this been problem the whole week can some help me

“Template doesn’t exist” error means that the view you are invoking at /accounts/login/ doesn’t know where your html template is. Now, it seems you are using class based view here, so you can either put your login template to templates/registration/login.html or indicate it explicitly, using template_name attribute.

1 Like

Thank you for your explanation