From 1f611288c655c548bd58d4a7861bb829ebf598c9 Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Wed, 30 Nov 2005 04:15:36 +0000 Subject: [PATCH] Fixed bug in [1504] admin/views/main.py git-svn-id: http://code.djangoproject.com/svn/django/trunk@1506 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/contrib/admin/views/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/contrib/admin/views/main.py b/django/contrib/admin/views/main.py index 8a13433613..007a7ad821 100644 --- a/django/contrib/admin/views/main.py +++ b/django/contrib/admin/views/main.py @@ -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]