diff options
author | Dan McGee <dan@archlinux.org> | 2011-03-15 09:02:22 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-03-15 09:08:10 -0500 |
commit | a0ef88770f5fe318f38eaa7dc794727a507c797b (patch) | |
tree | 1f101c1caef3f276e3a5b1cc8b5ad8763d8a0999 /public/models.py | |
parent | 3d6392391b3a0b37bea06f36f1998344ae170df2 (diff) |
Ensure package search form correctly handles errorsrelease_2011-03-15
We were silently eating errors and just showing a normal package list if
the form didn't validate. Rather than do that, make sure we return no
packages at all and display the form errors back to the user in a sane
fashion. Adjust the validation methods on the 'limit' parameter so any
integer is acceptable.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'public/models.py')
0 files changed, 0 insertions, 0 deletions