Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed #5071 -- Fixed 'global name ugettext is not defined' error in d…

…jango.core.validators. Thanks, Marco Bonetti

git-svn-id: http://code.djangoproject.com/svn/django/trunk@5811 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 3c733bb6900595abaa71f69d3315ebc80e1105e9 1 parent 56a75a2
@adrianholovaty adrianholovaty authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/core/validators.py
View
2  django/core/validators.py
@@ -442,7 +442,7 @@ def isValidFloat(field_data, all_data):
try:
float(data)
except ValueError:
- raise ValidationError, ugettext("Please enter a valid floating point number.")
+ raise ValidationError, _("Please enter a valid floating point number.")
class HasAllowableSize(object):
"""
Please sign in to comment.
Something went wrong with that request. Please try again.