Author: ubernostrum
Date: 2010-03-06 05:11:55 -0600 (Sat, 06 Mar 2010)
New Revision: 12685
Modified:
django/trunk/django/db/models/fields/__init__.py
Log:
Fixed #13034: Corrected default error message for IntegerField.
Modified: django/trunk/django/db/models/fields/__init__.py
===================================================================
--- django/trunk/django/db/models/fields/__init__.py 2010-03-06 11:10:25 UTC
(rev 12684)
+++ django/trunk/django/db/models/fields/__init__.py 2010-03-06 11:11:55 UTC
(rev 12685)
@@ -871,7 +871,7 @@
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")
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.