Skip to content

Commit

Permalink
use canonical name "select one"
Browse files Browse the repository at this point in the history
  • Loading branch information
sheppard committed Mar 30, 2017
1 parent 6df5f44 commit e3dec4b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rest/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ class BaseModelSerializer(JSONFormSerializer, serializers.ModelSerializer):
(GeometryField, 'geoshape'),
(serializers.IntegerField, 'int'),
(serializers.CharField, 'string'),
(serializers.ChoiceField, 'select1'),
(serializers.ChoiceField, 'select one'),
(serializers.TimeField, 'time'),
))

Expand Down
2 changes: 1 addition & 1 deletion tests/test_rest.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def test_rest_config_json_choices(self):
'name': 'choice',
'label': 'Choice',
'hint': 'Pick One',
'type': 'select1',
'type': 'select one',
'bind': {'required': True},
'choices': [{
'name': 'one',
Expand Down

0 comments on commit e3dec4b

Please sign in to comment.