Opened 8 years ago

Closed 8 years ago

Last modified 7 years ago

#13061 closed (invalid)

Default login template is on bad place - registration/login.html TemplateDoesNotExist

Reported by: sopuch Owned by: nobody
Component: contrib.auth Version: 1.1
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


django.contrib.auth.views.login points to default template (template_name=registration/login.html) to bad place - produce TemplateDoesNotExist error. I think, this template is in admin/login.html.

Change History (4)

comment:1 Changed 8 years ago by James Bennett

Resolution: invalid
Status: newclosed

No, that's the correct location. The admin does its own separate login template.

comment:2 Changed 8 years ago by sopuch

Resolution: invalid
Status: closedreopened

Ah, OK. But There isn't login.html template in registration directory. So it's not on bad place but is missing.

comment:3 Changed 8 years ago by Russell Keith-Magee

Resolution: invalid
Status: reopenedclosed

Omitted on purpose. We can't provide a template that will work on every site. You need to provide the template, and registration/login.html is a default suggested location.

comment:4 Changed 7 years ago by Jacob

milestone: 1.2

Milestone 1.2 deleted

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