]> git.ipfire.org Git - thirdparty/patchwork.git/commit
models: Return QuerySet from 'Patch.checks'
authorStephen Finucane <stephen.finucane@intel.com>
Fri, 24 Jun 2016 16:28:14 +0000 (17:28 +0100)
committerStephen Finucane <stephen.finucane@intel.com>
Tue, 28 Jun 2016 09:16:11 +0000 (10:16 +0100)
commitb6d4d3220b04f08e075b38f4654601135007d505
tree265003555c89e035a14137dbb14183cdbe2f4ab7
parentada0e90906835c5bb88b4bad99ed555df013de46
models: Return QuerySet from 'Patch.checks'

Previously this returned a list. However, a QuerySet is more flexible
and is required to provide a generic check endpoint at some point in
the future.

Signed-off-by: Stephen Finucane <stephen.finucane@intel.com>
Reviewed-by: Andy Doan <andy.doan@linaro.org>
patchwork/models.py