summaryrefslogtreecommitdiffstats
path: root/packages/models.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2013-01-12 23:47:20 +0100
committerDan McGee <dan@archlinux.org>2013-01-12 23:47:20 +0100
commit2bfdcec869ed4fceb11b9e0a2777fa53d46fb336 (patch)
tree54ff8371d77dbaf215e8d6e6e7d69f379f1361c8 /packages/models.py
parent6fe28b4206979a0db9c7d1f2f5f3a81c49d77951 (diff)
downloadarchweb-2bfdcec869ed4fceb11b9e0a2777fa53d46fb336.tar.gz
archweb-2bfdcec869ed4fceb11b9e0a2777fa53d46fb336.tar.xz
Make packages JSON search more performant
We were peppering the database with a bunch of queries here; using prefetch_related and attach_maintainers can cut down the count significantly. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'packages/models.py')
0 files changed, 0 insertions, 0 deletions