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:
James Bennett 2010-03-06 11:11:55 +00:00
parent 4960095e0c
commit 98aecaa999
1 changed files with 1 additions and 1 deletions

View File

@ -871,7 +871,7 @@ class FloatField(Field):
class IntegerField(Field): class IntegerField(Field):
empty_strings_allowed = False empty_strings_allowed = False
default_error_messages = { default_error_messages = {
'invalid': _("This value must be a float."), 'invalid': _("This value must be an integer."),
} }
description = _("Integer") description = _("Integer")