mirror of
				https://github.com/django/django.git
				synced 2025-10-31 09:41:08 +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:
		| @@ -10,7 +10,7 @@ | ||||
| {% block breadcrumbs %}{% if not is_popup %} | ||||
| <div class="breadcrumbs"> | ||||
|      <a href="../../../">{% trans "Home" %}</a> › | ||||
|      <a href="../">{{ bound_manipulator.verbose_name_plural|capfirst }}</a> › | ||||
|      <a href="../../">{{ bound_manipulator.verbose_name_plural|capfirst }}</a> › | ||||
|      {% if add %}{% trans "Add" %} {{ bound_manipulator.verbose_name }}{% else %}{{ bound_manipulator.original|striptags|truncatewords:"18" }}{% endif %} | ||||
| </div> | ||||
| {% endif %}{% endblock %} | ||||
|   | ||||
| @@ -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 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user