Skip to content
Browse files

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

…jango.core.validators. Thanks, Marco Bonetti

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 56a75a2 commit 3c733bb6900595abaa71f69d3315ebc80e1105e9 @adrianholovaty adrianholovaty committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 django/core/
2 django/core/
@@ -442,7 +442,7 @@ def isValidFloat(field_data, all_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):

0 comments on commit 3c733bb

Please sign in to comment.
Something went wrong with that request. Please try again.