Fixed #5071 -- Fixed 'global name ugettext is not defined' error in django.core.validators. Thanks, Marco Bonetti

git-svn-id: http://code.djangoproject.com/svn/django/trunk@5811 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Adrian Holovaty 2007-08-06 05:07:38 +00:00
parent 56a75a2a4e
commit 3c733bb690
1 changed files with 1 additions and 1 deletions

View File

@ -442,7 +442,7 @@ def isValidFloat(field_data, all_data):
try: try:
float(data) float(data)
except ValueError: except ValueError:
raise ValidationError, ugettext("Please enter a valid floating point number.") raise ValidationError, _("Please enter a valid floating point number.")
class HasAllowableSize(object): class HasAllowableSize(object):
""" """