diff options
| author | Joel Marcotte | 2012-12-15 16:45:04 -0500 |
|---|---|---|
| committer | Joel Marcotte | 2012-12-15 16:45:04 -0500 |
| commit | 6f25181979084e769658748ea342ff088ad245c0 (patch) | |
| tree | 03c25e42b65dc39adfa9fcf7bd7b2d881b918aa9 /rest_framework/fields.py | |
| parent | 01e06bcdf8a4678a312acbf11638fa6a033c50d6 (diff) | |
| download | django-rest-framework-6f25181979084e769658748ea342ff088ad245c0.tar.bz2 | |
Reverting commit to previous state to see if the test is only relevant to django 1.5b2
Diffstat (limited to 'rest_framework/fields.py')
| -rw-r--r-- | rest_framework/fields.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rest_framework/fields.py b/rest_framework/fields.py index 903c384e..da588082 100644 --- a/rest_framework/fields.py +++ b/rest_framework/fields.py @@ -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 |
