Opened 6 years ago

Closed 6 years ago

#19435 closed Bug (invalid)

the login.html is missing in the folder "\django\contrib\admin\templates\registration"

Reported by: turtle527@… Owned by: nobody
Component: contrib.admin Version: 1.4
Severity: Normal Keywords: login.html
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


Hi Django team,

According to the page "", i tried to use the "(r'accounts/login/$', 'django.contrib.auth.views.login')," in the URLconf, and there is an error when loading the login.html template if user is not login and the page will be redirected to the login page.


Change History (1)

comment:1 Changed 6 years ago by Claude Paroz

Resolution: invalid
Status: newclosed

Please, read carefully the docs ("It's your responsibility to provide the login form in a template called registration/login.html by default").


Note: See TracTickets for help on using tickets.
Back to Top