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:
Adrian Holovaty 2005-11-30 04:15:36 +00:00
parent d89f041139
commit 1f611288c6
1 changed files with 1 additions and 1 deletions

View File

@ -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]