From 2dcc99e3958be44f397194dd5d22ff1b50f53e13 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Honza=20Kr=C3=A1l?= Date: Sun, 5 Jul 2009 13:27:38 +0000 Subject: [PATCH] [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 --- django/forms/fields.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/django/forms/fields.py b/django/forms/fields.py index 8fa66cf0d6..9a037faca3 100644 --- a/django/forms/fields.py +++ b/django/forms/fields.py @@ -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):