Opened 15 years ago
Closed 15 years ago
#13169 closed (invalid)
Some templates in templates_folder/registration used by contrib.admin
Reported by: | peyman | Owned by: | nobody |
---|---|---|---|
Component: | Uncategorized | Version: | 1.1 |
Severity: | Keywords: | ||
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
Problem =
trying to access http://your_site/admin/password_change will render -- after login -- the template in templates_folder/registration/ password_change_form.html instead of the admin one. I can't find out
why.
Scenario =
Start a new project, and just do the minimum:
*in settings:
- a database
- a template path
- the django.contrib.admin app
*then syncdb
*in urls: uncomment the admin urls
*add in your template folder, the file requested by the view password_change in contrib.auth.views :
- registration/password_change_form.html
- this file contains a simple text
Note:
See TracTickets
for help on using tickets.
Trac is for registering confirmed bugs, not for asking "how" or "why" questions.
In this case, this is Django working as designed. Ask on django-users if you want to know why.