]> git.ipfire.org Git - thirdparty/patchwork.git/commit
views: Update how patch counts are retrieved
authorStephen Finucane <stephen@that.guru>
Sat, 22 Oct 2016 11:23:27 +0000 (12:23 +0100)
committerStephen Finucane <stephen@that.guru>
Sat, 29 Oct 2016 13:26:47 +0000 (14:26 +0100)
commita139fd6a8579115774dc9d8c3276cc3d7a0c2e1d
tree5b2c55823772bde11f1b4af997522d9e3027dfa4
parent932bcffd697e2bc22af56548d54b7fcec55535fe
views: Update how patch counts are retrieved

It's no longer possible to access 'Project.patch_set' as
'Project.submission_set' has replaced it. This was missed when the
cover letter feature was merged, so resolve it now.

Signed-off-by: Stephen Finucane <stephen@that.guru>
Reviewed-by: Daniel Axtens <dja@axtens.net>
Closes-bug: #54
patchwork/tests/test_projects.py [new file with mode: 0644]
patchwork/views/project.py