﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
33327	Missing template for the LoginView in the contrib.auth.views module	Mohammed Iben-ayad	nobody	"Dears, 

Django framework raises the following exception while calling the LoginView (in contrib.auth.views) and using the default template 'registration/login.html': 

Exception Type:	TemplateDoesNotExist
Exception Value:	registration/login.html

I'm using the following URL pattern:

urlpatterns = [
    path('accounts/', include('django.contrib.auth.urls')),
]

and then calling the login view via the following URL: http://127.0.0.1:8000/my_app_name/accounts/login/ 

After double checking the templates folder in the contrib.auth component, I can't see any template with the name login.html. 

I made a small project to further illustrate the issue: https://github.com/webontos/missinglogintemplate

In case this is a real bug, I believe the documentation needs to be updated accordingly: https://docs.djangoproject.com/en/3.2/topics/auth/default/

I hope I'm not missing anything!

First time to report a potential bug to Django community and I hope this helps :) 


All the best, "	Bug	closed	contrib.auth	3.2	Normal	invalid		Mohammed Iben-ayad	Unreviewed	0	0	0	0	0	0
