Merge pull request #1619 from khamaileon/master

Replace ChoiceField type_label
This commit is contained in:
Xavier Ordoquy 2014-06-05 13:08:28 +02:00
commit a3e75e4c6c

View File

@ -506,7 +506,7 @@ class SlugField(CharField):
class ChoiceField(WritableField): class ChoiceField(WritableField):
type_name = 'ChoiceField' type_name = 'ChoiceField'
type_label = 'multiple choice' type_label = 'choice'
form_field_class = forms.ChoiceField form_field_class = forms.ChoiceField
widget = widgets.Select widget = widgets.Select
default_error_messages = { default_error_messages = {