diff options
author | Dan McGee <dan@archlinux.org> | 2013-01-12 23:47:20 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2013-01-12 23:47:20 +0100 |
commit | 2bfdcec869ed4fceb11b9e0a2777fa53d46fb336 (patch) | |
tree | 54ff8371d77dbaf215e8d6e6e7d69f379f1361c8 /packages/models.py | |
parent | 6fe28b4206979a0db9c7d1f2f5f3a81c49d77951 (diff) | |
download | archweb-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