aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkhamaileon2014-06-05 12:49:02 +0200
committerkhamaileon2014-06-05 12:49:02 +0200
commit08c4594145a7219a14fafc87db0b9d61483d70d0 (patch)
tree1c09bc32bf0f00389ca972e77f8a3b9fd8d83d90
parent0c91d8ed31dc50625d27eef06a29c2f1fb2e45a4 (diff)
downloaddjango-rest-framework-08c4594145a7219a14fafc87db0b9d61483d70d0.tar.bz2
Replace ChoiceField type_label
-rw-r--r--rest_framework/fields.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rest_framework/fields.py b/rest_framework/fields.py
index 4ac5285e..86e8fd9d 100644
--- a/rest_framework/fields.py
+++ b/rest_framework/fields.py
@@ -506,7 +506,7 @@ class SlugField(CharField):
class ChoiceField(WritableField):
type_name = 'ChoiceField'
- type_label = 'multiple choice'
+ type_label = 'choice'
form_field_class = forms.ChoiceField
widget = widgets.Select
default_error_messages = {