Ticket #14396: django-admin-query-burst.patch
File django-admin-query-burst.patch, 565 bytes (added by , 14 years ago) |
---|
-
Django-1.2.3-py2.5.egg/django/contrib/admin/views/main.py
old new 212 212 pass 213 213 else: 214 214 if isinstance(f.rel, models.ManyToOneRel): 215 qs = qs.select_related() 216 break 215 qs = qs.select_related(field_name) 217 216 218 217 # Set ordering. 219 218 if self.order_field: