1
0
mirror of https://github.com/django/django.git synced 2025-06-08 13:09:13 +00:00

Url fixes

git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1692 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Robert Wittams 2005-12-16 12:12:50 +00:00
parent 71f55b68b1
commit f013d39c90
2 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@
{% block breadcrumbs %}{% if not is_popup %}
<div class="breadcrumbs">
<a href="../../../">{% trans "Home" %}</a> &rsaquo;
<a href="../">{{ bound_manipulator.verbose_name_plural|capfirst }}</a> &rsaquo;
<a href="../../">{{ bound_manipulator.verbose_name_plural|capfirst }}</a> &rsaquo;
{% if add %}{% trans "Add" %} {{ bound_manipulator.verbose_name }}{% else %}{{ bound_manipulator.original|striptags|truncatewords:"18" }}{% endif %}
</div>
{% endif %}{% endblock %}

View File

@ -220,7 +220,7 @@ class ChangeList(object):
full_result_count, result_list, can_show_all, multi_page, paginator )
def url_for_result(self, result):
return "%s/" % getattr(result, self.pk_attname)
return "%s/change" % getattr(result, self.pk_attname)
def get_ordering(self):
lookup_opts, params = self.lookup_opts, self.params