Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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...
commit 98aecaa999c156385d12997f05d53edd6ca90ac8 1 parent 4960095
@ubernostrum ubernostrum authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/db/models/fields/__init__.py
View
2  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")
Please sign in to comment.
Something went wrong with that request. Please try again.