=== modified file 'django/db/models/query.py'
--- django/db/models/query.py	2008-08-12 16:18:16 +0000
+++ django/db/models/query.py	2008-08-13 02:31:34 +0000
@@ -141,7 +141,15 @@
         return obj_dict
 
     def __repr__(self):
-        return repr(list(self))
+        # We don't want to return the repr of an enormous QuerySet, so truncate
+        # after hitting CHUNK_SIZE
+        if len(self) > CHUNK_SIZE:
+            return '%s ... and %d more items (%d total)' \
+                % (repr(list(self[:CHUNK_SIZE])),
+                   len(self) - CHUNK_SIZE,
+                   len(self))
+        else:
+            return repr(list(self))
 
     def __len__(self):
         # Since __len__ is called quite frequently (for example, as part of

