mirror of
https://github.com/django/django.git
synced 2025-09-26 20:19:16 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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")
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue