Skip to content

Commit

Permalink
Merge pull request #2255 from mathspace/charfield-default-message
Browse files Browse the repository at this point in the history
Update CharField default min_length message.
  • Loading branch information
xordoquy committed Dec 12, 2014
2 parents 73a8056 + fa1ef33 commit 903fb5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rest_framework/fields.py
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,7 @@ class CharField(Field):
default_error_messages = {
'blank': _('This field may not be blank.'),
'max_length': _('Ensure this field has no more than {max_length} characters.'),
'min_length': _('Ensure this field has no more than {min_length} characters.')
'min_length': _('Ensure this field has at least {min_length} characters.')
}
initial = ''
coerce_blank_to_null = False
Expand Down

0 comments on commit 903fb5f

Please sign in to comment.