#19331 closed Cleanup/optimization (fixed)
Missing trailing slashes in admin template breadcrumbs cause redirects
Reported by: | Owned by: | nobody | |
---|---|---|---|
Component: | contrib.auth | Version: | dev |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Accepted | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | yes | UI/UX: | no |
Description
In the admin templates, there are some trailing slashes missing since the new admin_urlname was introduced. For example, in admin/auth/user/change_password.html, line 16:
<a href="{% url opts|admin_urlname:'changelist' %}{{ original.pk }}">..
instead of
<a href="{% url opts|admin_urlname:'changelist' %}{{ original.pk }}/">..
This causes unnecessary redirects. I have not thoroughly checked all templates to know which have this problem.
Change History (7)
comment:1 by , 12 years ago
Triage Stage: | Unreviewed → Accepted |
---|---|
Version: | 1.4 → master |
comment:2 by , 12 years ago
comment:3 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:6 by , 12 years ago
Summary: | Missing taining slashes in admin template breadcrumbs cause redirects → Missing trailing slashes in admin template breadcrumbs cause redirects |
---|
Note:
See TracTickets
for help on using tickets.
After a quick scan, I don't think there are other occurrences. Anyway, I will fix this one ASAP.