]> git.ipfire.org Git - thirdparty/patchwork.git/commit
REST: Limit max page size
authorStephen Finucane <stephen@that.guru>
Tue, 7 Feb 2017 21:46:35 +0000 (21:46 +0000)
committerStephen Finucane <stephen@that.guru>
Wed, 1 Mar 2017 22:10:57 +0000 (22:10 +0000)
commit41790caf59adfbbc488e8a62f218ddad0f15a9e4
treea9b11cff0e857dd45e6a2e6ebb0c5a3a551e2923
parent50f6b1ead7d904519ef09acf857d75e7c5f20e16
REST: Limit max page size

If this isn't set it's possible to set any page size. Let's restrict
this to the value set in settings.

Signed-off-by: Stephen Finucane <stephen@that.guru>
Cc: Andy Doan <andy.doan@linaro.org>
Reviewed-by: Andy Doan <andy.doan@linaro.org>
patchwork/api/base.py