Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[1.0.X] Fixed a needless list() coercion in in ChangeList. Refs #1016…

…3. Backport of [10624] from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10629 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 91d063c405a8d05a366515d882bd462bf7c00107 1 parent 2ceee52
Jacob Kaplan-Moss jacobian authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/contrib/admin/views/main.py
2  django/contrib/admin/views/main.py
View
@@ -115,7 +115,7 @@ def get_results(self, request):
# Get the list of objects to display on this page.
if (self.show_all and can_show_all) or not multi_page:
- result_list = list(self.query_set)
+ result_list = self.query_set._clone()
else:
try:
result_list = paginator.page(self.page_num+1).object_list
Please sign in to comment.
Something went wrong with that request. Please try again.