Changeset 3634
- Timestamp:
- 08/21/06 12:43:34 (2 years ago)
- Files:
-
- django/trunk/django/core/validators.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/trunk/django/core/validators.py
r3305 r3634 69 69 def isSlug(field_data, all_data): 70 70 if not slug_re.search(field_data): 71 raise ValidationError, "This value must contain only letters, numbers, underscores or hyphens."71 raise ValidationError, gettext("This value must contain only letters, numbers, underscores or hyphens.") 72 72 73 73 def isLowerCase(field_data, all_data):
