mirror of
https://github.com/django/django.git
synced 2025-07-03 17:29:12 +00:00
magic-removal: Added slash at the end of ChangeList.url_for_result()
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1938 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
5e57f795b5
commit
22260f968c
@ -127,7 +127,7 @@ class ChangeList(object):
|
|||||||
full_result_count, result_list, can_show_all, multi_page, paginator )
|
full_result_count, result_list, can_show_all, multi_page, paginator )
|
||||||
|
|
||||||
def url_for_result(self, result):
|
def url_for_result(self, result):
|
||||||
return "%s/change" % getattr(result, self.pk_attname)
|
return "%s/change/" % getattr(result, self.pk_attname)
|
||||||
|
|
||||||
def get_ordering(self):
|
def get_ordering(self):
|
||||||
lookup_opts, params = self.lookup_opts, self.params
|
lookup_opts, params = self.lookup_opts, self.params
|
||||||
|
Loading…
x
Reference in New Issue
Block a user