]> git.ipfire.org Git - thirdparty/patchwork.git/commit
REST: Base filters on Django's ModelMultipleChoiceField
authorStephen Finucane <stephen@that.guru>
Wed, 11 Apr 2018 16:13:34 +0000 (17:13 +0100)
committerDaniel Axtens <dja@axtens.net>
Wed, 9 May 2018 16:22:11 +0000 (02:22 +1000)
commit5c15947c434c5cf86769823e95926a6d340a082a
treeb8b606e9ae33319b0613bc2fd23ffe03f9e5441d
parentdc53930e8b55ff151bfc11a6e80a3d352ab7fb35
REST: Base filters on Django's ModelMultipleChoiceField

Introduce a modified version of Django's ModelMultipleChoiceField
that allows us to query on multiple fields.

Signed-off-by: Stephen Finucane <stephen@that.guru>
Fixes: #156
[dja: commit message, expand docs]
Signed-off-by: Daniel Axtens <dja@axtens.net>
patchwork/api/filters.py
patchwork/tests/api/test_patch.py
releasenotes/notes/improved-rest-filtering-bf68399270a9b245.yaml