Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed a needless list() coercion in in ChangeList. Refs #10163.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@10624 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 855a58f963bb2aa8eeea14be8f22b14020266d08 1 parent c00e8d2
Jacob Kaplan-Moss authored April 22, 2009

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  django/contrib/admin/views/main.py
2  django/contrib/admin/views/main.py
@@ -116,7 +116,7 @@ def get_results(self, request):
116 116
 
117 117
         # Get the list of objects to display on this page.
118 118
         if (self.show_all and can_show_all) or not multi_page:
119  
-            result_list = list(self.query_set)
  119
+            result_list = self.query_set._clone()
120 120
         else:
121 121
             try:
122 122
                 result_list = paginator.page(self.page_num+1).object_list

0 notes on commit 855a58f

Please sign in to comment.
Something went wrong with that request. Please try again.