diff options
| author | Adrian Holovaty <adrian@holovaty.com> | 2007-08-06 05:07:38 +0000 |
|---|---|---|
| committer | Adrian Holovaty <adrian@holovaty.com> | 2007-08-06 05:07:38 +0000 |
| commit | 3c733bb6900595abaa71f69d3315ebc80e1105e9 (patch) | |
| tree | 2ee90282dfd67686ef30577cc124e3c738300c49 | |
| parent | 56a75a2a4e5b473a68536d2b669b428c4f90f662 (diff) | |
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
| -rw-r--r-- | django/core/validators.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/core/validators.py b/django/core/validators.py index ca436690a5..fde4f052cb 100644 --- a/django/core/validators.py +++ b/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): """ |
