diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2015-06-04 17:58:51 +0800 |
---|---|---|
committer | Jeremy Kerr <jk@ozlabs.org> | 2015-06-05 14:37:05 +0800 |
commit | 7a39d75859c4ee908573726f0a82df85cdb8b845 (patch) | |
tree | ff1bc1d65c2f84fb367c09b678917deba9fd2756 /patchwork/templatetags/filter.py | |
parent | 8afd42350101786a542833b6d08b924d4c9f965a (diff) | |
download | patchwork-7a39d75859c4ee908573726f0a82df85cdb8b845.tar.bz2 patchwork-7a39d75859c4ee908573726f0a82df85cdb8b845.tar.xz |
patchwork/views: prefetch delegate in generic_list
If patches have a delegate, the patch list template will cause a query
to render the delegate username. Instead, we should include the delegate
in the select_related query.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'patchwork/templatetags/filter.py')
0 files changed, 0 insertions, 0 deletions