]> git.ozlabs.org Git - patchwork/commit
views: Refactor generic_list() to make it less complicated
authorGuilherme Salgado <guilherme.salgado@linaro.org>
Tue, 12 Apr 2011 11:34:57 +0000 (11:34 +0000)
committerJeremy Kerr <jk@ozlabs.org>
Thu, 14 Apr 2011 06:47:08 +0000 (14:47 +0800)
commite3f9cdfdfa96f5074a31fe2de0caf0ac52b1aff9
treefbec5ad2b4d4e27ccb725b20546428e4a14f855b
parentc50379dda534564eb5701d8c007910bc1ee7e066
views: Refactor generic_list() to make it less complicated

When a form is submitted it now delegates to separate processing
functions according to the action.  Apart from being more readable it's
now a lot easier to add extra forms for processing lists of patches.

Signed-off-by: Guilherme Salgado <guilherme.salgado@linaro.org>
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
apps/patchwork/forms.py
apps/patchwork/utils.py
apps/patchwork/views/__init__.py
templates/patchwork/patch-list.html