Update CharField default min_length message.

This commit is contained in:
Peter Schmidt 2014-12-12 11:16:29 +11:00
parent 73a80564e2
commit fa1ef33bfc

View File

@ -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