Browse files

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.
  • Loading branch information...
1 parent a32f30c commit 8fdb28219df22245d7e50b4e8374d8567ca84f0f @ramiro ramiro committed Nov 20, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 django/contrib/admin/templates/admin/auth/user/change_password.html
@@ -13,7 +13,7 @@
<a href="{% url 'admin:index' %}">{% trans 'Home' %}</a>
&rsaquo; <a href="{% url 'admin:app_list' app_label=opts.app_label %}">{{ opts.app_label|capfirst|escape }}</a>
&rsaquo; <a href="{% url opts|admin_urlname:'changelist' %}">{{ opts.verbose_name_plural|capfirst }}</a>
-&rsaquo; <a href="{% url opts|admin_urlname:'changelist' %}{{ }}/">{{ original|truncatewords:"18" }}</a>
+&rsaquo; <a href="{% url opts|admin_urlname:'change'|admin_urlquote %}">{{ original|truncatewords:"18" }}</a>
&rsaquo; {% trans 'Change password' %}
{% endblock %}

0 comments on commit 8fdb282

Please sign in to comment.