Small simplification to request.GET.items() call in contrib.admin.views.main. Thanks, Kieran

git-svn-id: http://code.djangoproject.com/svn/django/trunk@1507 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Adrian Holovaty 2005-11-30 05:34:51 +00:00
parent 1f611288c6
commit 837435a08a
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(request.GET.items())
if self.params.has_key(PAGE_VAR):
del self.params[PAGE_VAR]