Opened 11 years ago

Closed 11 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

Description

Hi Django team,

According to the page "https://docs.djangoproject.com/en/dev/topics/auth/", 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.

regards,
lei

Change History (1)

comment:1 by Claude Paroz, 11 years ago

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").

TicketClosingReasons/UseSupportChannels

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