Changed error message of CharField

Changed the value of the min_length key of default error message in CharField
This commit is contained in:
Yuri Hernani Heupa 2014-11-05 15:26:14 -02:00
parent 8861a7dfc7
commit 5ba2297adc

View File

@ -470,7 +470,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 more than {min_length} characters.')
}
initial = ''
coerce_blank_to_null = False