Fixed bug in [1504] admin/views/main.py
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1506 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
d89f041139
commit
1f611288c6
|
@ -105,7 +105,7 @@ class ChangeList(object):
|
|||
self.page_num = 0
|
||||
self.show_all = request.GET.has_key(ALL_VAR)
|
||||
self.is_popup = request.GET.has_key(IS_POPUP_VAR)
|
||||
self.params = dict((k, v) for k, v in request.GET.items())
|
||||
self.params = dict([(k, v) for k, v in request.GET.items()])
|
||||
if self.params.has_key(PAGE_VAR):
|
||||
del self.params[PAGE_VAR]
|
||||
|
||||
|
|
Loading…
Reference in New Issue