Skip to content

Commit fa1ef33

Browse files
committed
Update CharField default min_length message.
1 parent 73a8056 commit fa1ef33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rest_framework/fields.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -509,7 +509,7 @@ class CharField(Field):
509509
default_error_messages = {
510510
'blank': _('This field may not be blank.'),
511511
'max_length': _('Ensure this field has no more than {max_length} characters.'),
512-
'min_length': _('Ensure this field has no more than {min_length} characters.')
512+
'min_length': _('Ensure this field has at least {min_length} characters.')
513513
}
514514
initial = ''
515515
coerce_blank_to_null = False

0 commit comments

Comments
 (0)