summaryrefslogtreecommitdiffstats
path: root/patchwork/tests/test_list.py
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2015-06-04 17:58:51 +0800
committerJeremy Kerr <jk@ozlabs.org>2015-06-05 14:37:05 +0800
commit7a39d75859c4ee908573726f0a82df85cdb8b845 (patch)
treeff1bc1d65c2f84fb367c09b678917deba9fd2756 /patchwork/tests/test_list.py
parent8afd42350101786a542833b6d08b924d4c9f965a (diff)
downloadpatchwork-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/tests/test_list.py')
0 files changed, 0 insertions, 0 deletions