diff options
| author | Ramiro Morales <cramm0@gmail.com> | 2012-11-20 20:53:08 -0300 |
|---|---|---|
| committer | Ramiro Morales <cramm0@gmail.com> | 2012-11-20 21:52:07 -0300 |
| commit | 1220f22b88c324d84e6e0f52115d3f00fcba46b6 (patch) | |
| tree | cd283ac5c613abc9f71c5ead16302a8d906cdbe5 | |
| parent | aab701f1aaae725f510b142b785ccc083939d365 (diff) | |
[1.5.x] Fixed #19331 (again) use the right admin named URL.
This allows us to get the trailing slash in URLs without having to
manually assemble and hard-code them.
See also commits e9497a, a222d6, f51eab, 5a9e12.
Backport of 8fdb28219df22245d7e50b4e8374d8567ca84f0f from master.
| -rw-r--r-- | django/contrib/admin/templates/admin/auth/user/change_password.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/contrib/admin/templates/admin/auth/user/change_password.html b/django/contrib/admin/templates/admin/auth/user/change_password.html index b4e94a1360..64020aecb3 100644 --- a/django/contrib/admin/templates/admin/auth/user/change_password.html +++ b/django/contrib/admin/templates/admin/auth/user/change_password.html @@ -13,7 +13,7 @@ <a href="{% url 'admin:index' %}">{% trans 'Home' %}</a> › <a href="{% url 'admin:app_list' app_label=opts.app_label %}">{{ opts.app_label|capfirst|escape }}</a> › <a href="{% url opts|admin_urlname:'changelist' %}">{{ opts.verbose_name_plural|capfirst }}</a> -› <a href="{% url opts|admin_urlname:'changelist' %}{{ original.pk }}/">{{ original|truncatewords:"18" }}</a> +› <a href="{% url opts|admin_urlname:'change' original.pk|admin_urlquote %}">{{ original|truncatewords:"18" }}</a> › {% trans 'Change password' %} </div> {% endblock %} |
