mirror of https://github.com/django/django.git
Fixed #13034: Corrected default error message for IntegerField.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12685 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
4960095e0c
commit
98aecaa999
|
@ -871,7 +871,7 @@ class FloatField(Field):
|
|||
class IntegerField(Field):
|
||||
empty_strings_allowed = False
|
||||
default_error_messages = {
|
||||
'invalid': _("This value must be a float."),
|
||||
'invalid': _("This value must be an integer."),
|
||||
}
|
||||
description = _("Integer")
|
||||
|
||||
|
|
Loading…
Reference in New Issue