]> git.ipfire.org Git - thirdparty/patchwork.git/commit
REST: Stop including 'tags' in '/patches'
authorStephen Finucane <stephen@that.guru>
Mon, 15 May 2017 23:13:29 +0000 (00:13 +0100)
committerStephen Finucane <stephen@that.guru>
Thu, 18 May 2017 20:18:37 +0000 (21:18 +0100)
commit42def013fe468ef2b112dd345987515edcc62d07
tree67dfcf3e56955a8c3202417c0df61710fcc0bfc9
parent2d486c28c5b8a67c7242f19749354afd21533961
REST: Stop including 'tags' in '/patches'

While this is a very helpful field to include, doing so significantly
increases the number of DB queries necessary for listing patches (from
~14 to ~46). Stop including this information until the model itself is
reworked to prevent this issue.

Signed-off-by: Stephen Finucane <stephen@that.guru>
patchwork/api/patch.py
patchwork/tests/test_rest_api.py