summaryrefslogtreecommitdiffstats
path: root/releng
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2013-01-23 01:20:41 +0100
committerDan McGee <dan@archlinux.org>2013-01-23 01:20:41 +0100
commit85dc9d6df9f9038be6049aefbf8eb9ea94f9f23c (patch)
tree65054dc7761dc2aef30c6c354c1cea50ec9c0b0c /releng
parent2c958511c41f53fb7de49ed4662eec966e0b76a5 (diff)
downloadarchweb-85dc9d6df9f9038be6049aefbf8eb9ea94f9f23c.tar.gz
archweb-85dc9d6df9f9038be6049aefbf8eb9ea94f9f23c.tar.xz
Override the default admin queryset for some models
Because some attributes are optional or otherwise not auto-magically picked up by Django, we can help the performance of loading these pages a lot by forcing a select_related() on the queryset used by the admin. For something like signoff_specifications, this drops the query count from ~107 to 9 queries. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'releng')
0 files changed, 0 insertions, 0 deletions