Opened 6 years ago

Closed 6 years ago

Last modified 4 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 6 years ago by ubernostrum

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to invalid
  • Status changed from new to closed

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

comment:2 Changed 6 years ago by sopuch

  • Resolution invalid deleted
  • Status changed from closed to reopened

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 6 years ago by russellm

  • Resolution set to invalid
  • Status changed from reopened to closed

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 4 years ago by jacob

  • milestone 1.2 deleted

Milestone 1.2 deleted

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