Permalink
Browse files

Fixed #13034: Corrected default error message for IntegerField.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@12685 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 4960095 commit 98aecaa999c156385d12997f05d53edd6ca90ac8 @ubernostrum ubernostrum committed Mar 6, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 django/db/models/fields/__init__.py
@@ -871,7 +871,7 @@ def formfield(self, **kwargs):
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")

0 comments on commit 98aecaa

Please sign in to comment.