diff options
author | Lukas Fleischer <archlinux@cryptocrack.de> | 2011-03-16 09:03:38 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-03-16 08:49:49 -0500 |
commit | aca7700dd7519d45e677e18b1a0199f3712ce140 (patch) | |
tree | a27b9a31b48b0530f437586f65b531a23f78ea53 /main/migrations | |
parent | b0061f5bd99ef49733b4b66ef67dfd8f156785b1 (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 'main/migrations')
0 files changed, 0 insertions, 0 deletions