diff options
| author | Georg Bauer <gb@hugo.westfalen.de> | 2005-09-29 17:01:05 +0000 |
|---|---|---|
| committer | Georg Bauer <gb@hugo.westfalen.de> | 2005-09-29 17:01:05 +0000 |
| commit | 98d74306099d73a4e6765bf677207b240f82dd16 (patch) | |
| tree | 062de72e915bce4475f5bf7470970cfb9cbee74e /django/core/validators.py | |
| parent | a60b2050c643314996434117892136fba8adb487 (diff) | |
i18n patch - references #65
git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@726 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'django/core/validators.py')
| -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 697c2efe81..bc70a330e0 100644 --- a/django/core/validators.py +++ b/django/core/validators.py @@ -53,7 +53,7 @@ class CriticalValidationError(Exception): def isAlphaNumeric(field_data, all_data): if not alnum_re.search(field_data): - raise ValidationError, "This value must contain only letters, numbers and underscores." + raise ValidationError, _("This value must contain only letters, numbers and underscores.") def isAlphaNumericURL(field_data, all_data): if not alnumurl_re.search(field_data): |
