diff --git a/django/db/models/fields/__init__.py b/django/db/models/fields/__init__.py index 02c69c272e..a2d2857f0f 100644 --- a/django/db/models/fields/__init__.py +++ b/django/db/models/fields/__init__.py @@ -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")