Opened 13 years ago
Closed 13 years ago
#19435 closed Bug (invalid)
the login.html is missing in the folder "\django\contrib\admin\templates\registration"
| Reported by: | 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
Note:
See TracTickets
for help on using tickets.
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