Ticket #11604: 11604-changelist-select-related-depth.diff
File 11604-changelist-select-related-depth.diff, 542 bytes (added by , 15 years ago) |
---|
-
django/contrib/admin/views/main.py
210 210 pass 211 211 else: 212 212 if isinstance(f.rel, models.ManyToOneRel): 213 qs = qs.select_related( )213 qs = qs.select_related(depth=1) 214 214 break 215 215 216 216 # Set ordering.