We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 73a8056 commit fa1ef33Copy full SHA for fa1ef33
rest_framework/fields.py
@@ -509,7 +509,7 @@ class CharField(Field):
509
default_error_messages = {
510
'blank': _('This field may not be blank.'),
511
'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.')
+ 'min_length': _('Ensure this field has at least {min_length} characters.')
513
}
514
initial = ''
515
coerce_blank_to_null = False
0 commit comments