BugFix in ChoiceField #250

Merged
merged 1 commit into from Apr 27, 2014

Conversation

Projects
None yet
2 participants
Contributor

mpyatishev commented Feb 20, 2014

I found that ChoiceField.get_choice() swaps values and labels of choices. Therefore on submitting form I has got a ValidationError. In test its not seen because of equals values and labels.

@mpyatishev mpyatishev Update fields.py
BugFix in ChoiceField.get_choice()
685d7d7

jpic merged commit 685d7d7 into yourlabs:v2 Apr 27, 2014

1 check passed

default The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment