1
0
mirror of https://github.com/django/django.git synced 2025-07-06 18:59:13 +00:00

[soc2009/model-validation] no need to redefine default_error_messages that don'w differ from superclass.

git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2009/model-validation@11187 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Honza Král 2009-07-05 13:27:38 +00:00
parent d23f541f10
commit 2dcc99e395

View File

@ -229,8 +229,6 @@ class IntegerField(Field):
class FloatField(IntegerField):
default_error_messages = {
'invalid': _(u'Enter a number.'),
'max_value': _(u'Ensure this value is less than or equal to %s.'),
'min_value': _(u'Ensure this value is greater than or equal to %s.'),
}
def to_python(self, value):