mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-23 01:57:00 +03:00
Reverting commit to previous state to see if the test is only relevant to django 1.5b2
This commit is contained in:
parent
01e06bcdf8
commit
6f25181979
|
@ -794,7 +794,7 @@ class ChoiceField(WritableField):
|
|||
if value == smart_unicode(k2):
|
||||
return True
|
||||
else:
|
||||
if value == smart_unicode(k) or value == k:
|
||||
if value == smart_unicode(k):
|
||||
return True
|
||||
return False
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user