summaryrefslogtreecommitdiff
path: root/templates/admin
diff options
context:
space:
mode:
authorLukas Fleischer <archlinux@cryptocrack.de>2011-03-16 09:03:38 +0100
committerDan McGee <dan@archlinux.org>2011-03-16 08:49:49 -0500
commitaca7700dd7519d45e677e18b1a0199f3712ce140 (patch)
treea27b9a31b48b0530f437586f65b531a23f78ea53 /templates/admin
parentb0061f5bd99ef49733b4b66ef67dfd8f156785b1 (diff)
Fix valid_value() in "LimitTypedChoiceField" class.
We just returned the coerced value in valid_value() which may become None if the valid value "all" was passed, resulting in valid_value() evaluating to False. Explicitly returning True if the value can be coerced without an error fixes this. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de> Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates/admin')
0 files changed, 0 insertions, 0 deletions