Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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
Adrian Holovaty authored August 06, 2007

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  django/core/validators.py
2  django/core/validators.py
@@ -442,7 +442,7 @@ def isValidFloat(field_data, all_data):
442 442
     try:
443 443
         float(data)
444 444
     except ValueError:
445  
-        raise ValidationError, ugettext("Please enter a valid floating point number.")
  445
+        raise ValidationError, _("Please enter a valid floating point number.")
446 446
 
447 447
 class HasAllowableSize(object):
448 448
     """

0 notes on commit 3c733bb

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