summaryrefslogtreecommitdiff
path: root/.gitattributes
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2013-01-22 17:20:41 -0700
committerDan McGee <dan@archlinux.org>2013-01-22 17:20:41 -0700
commit85dc9d6df9f9038be6049aefbf8eb9ea94f9f23c (patch)
tree65054dc7761dc2aef30c6c354c1cea50ec9c0b0c /.gitattributes
parent2c958511c41f53fb7de49ed4662eec966e0b76a5 (diff)
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 '.gitattributes')
0 files changed, 0 insertions, 0 deletions