From fa1ef33bfc5d3790845771db2d00a2fa38bcbdb8 Mon Sep 17 00:00:00 2001 From: Peter Schmidt Date: Fri, 12 Dec 2014 11:16:29 +1100 Subject: [PATCH] Update CharField default min_length message. --- rest_framework/fields.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rest_framework/fields.py b/rest_framework/fields.py index 15e59861b..25122e141 100644 --- a/rest_framework/fields.py +++ b/rest_framework/fields.py @@ -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