Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed bug in [1504] admin/views/main.py

git-svn-id: http://code.djangoproject.com/svn/django/trunk@1506 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 1f611288c655c548bd58d4a7861bb829ebf598c9 1 parent d89f041
@adrianholovaty adrianholovaty authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/contrib/admin/views/main.py
View
2  django/contrib/admin/views/main.py
@@ -105,7 +105,7 @@ def get_search_parameters(self, request):
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]
Please sign in to comment.
Something went wrong with that request. Please try again.