summaryrefslogtreecommitdiff
path: root/tests/proxy_models
diff options
context:
space:
mode:
authorAdam Johnson <me@adamj.eu>2025-09-05 11:54:01 +0100
committerJacob Walls <jacobtylerwalls@gmail.com>2026-05-11 12:32:30 -0400
commit0c634de4e6950ec6fb83ab420b4af9c645b28acd (patch)
treeeefd88cbe884f0c1f3f8707ea3e7f731d29613c6 /tests/proxy_models
parent4d455ae2d7689ce066dfffef9fc29a6f6d3ed33e (diff)
Refs #36593 -- Made ModelAdmin.list_select_related = False more efficient.
This change makes `list_select_related = False` avoid unnecessary joins by only selecting the related fields that are actually used in `list_display`. Consequently, it avoids one code path that calls `QuerySet.select_related()` with no arguments, which is targeted for deprecation.
Diffstat (limited to 'tests/proxy_models')
0 files changed, 0 insertions, 0 deletions