summaryrefslogtreecommitdiff
path: root/django/forms
diff options
context:
space:
mode:
authorHonza Král <honza.kral@gmail.com>2009-07-05 13:27:38 +0000
committerHonza Král <honza.kral@gmail.com>2009-07-05 13:27:38 +0000
commit2dcc99e3958be44f397194dd5d22ff1b50f53e13 (patch)
treea2d5496397506875e92d1a68ef75c8ecd067a45c /django/forms
parentd23f541f102bc37e5ed9e78a05832335f3f3987b (diff)
[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
Diffstat (limited to 'django/forms')
-rw-r--r--django/forms/fields.py2
1 files changed, 0 insertions, 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):