diff options
author | Malcolm Tredinnick <malcolm.tredinnick@gmail.com> | 2007-06-09 14:30:24 +0000 |
---|---|---|
committer | Malcolm Tredinnick <malcolm.tredinnick@gmail.com> | 2007-06-09 14:30:24 +0000 |
commit | b43ecd823c64df62ddd74763bb1491448e9216ca (patch) | |
tree | 9e57954c6c2d03bec4f4b0756201b4194c84a50c | |
parent | b792044d34171888938dfac833ee4263745c1eef (diff) | |
download | django-b43ecd823c64df62ddd74763bb1491448e9216ca.tar.gz |
unicode: Fixed #4479 -- Changed an errant gettext() call to ugettext().
git-svn-id: http://code.djangoproject.com/svn/django/branches/unicode@5445 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 ebba5e16c2..4e39157de8 100644 --- a/django/core/validators.py +++ b/django/core/validators.py @@ -437,7 +437,7 @@ def isValidFloat(field_data, all_data): try: float(data) except ValueError: - raise ValidationError, gettext("Please enter a valid floating point number.") + raise ValidationError, ugettext("Please enter a valid floating point number.") class HasAllowableSize(object): """ |