Skip to content

Commit

Permalink
Update CharField default min_length message.
Browse files Browse the repository at this point in the history
  • Loading branch information
pzrq committed Dec 12, 2014
1 parent 73a8056 commit fa1ef33
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 fa1ef33

Please sign in to comment.