Final commit to restore the fix

Signed-off-by: Joel Marcotte <skaner@gmail.com>
This commit is contained in:
Joel Marcotte 2012-12-15 16:52:28 -05:00 committed by Joel Marcotte
parent 6f25181979
commit 262d9c2489

View File

@ -794,7 +794,7 @@ class ChoiceField(WritableField):
if value == smart_unicode(k2):
return True
else:
if value == smart_unicode(k):
if value == smart_unicode(k) or value == k:
return True
return False