diff options
| author | khamaileon | 2014-06-05 12:49:02 +0200 |
|---|---|---|
| committer | khamaileon | 2014-06-05 12:49:02 +0200 |
| commit | 08c4594145a7219a14fafc87db0b9d61483d70d0 (patch) | |
| tree | 1c09bc32bf0f00389ca972e77f8a3b9fd8d83d90 | |
| parent | 0c91d8ed31dc50625d27eef06a29c2f1fb2e45a4 (diff) | |
| download | django-rest-framework-08c4594145a7219a14fafc87db0b9d61483d70d0.tar.bz2 | |
Replace ChoiceField type_label
| -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 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 = { |
