validator - characters without numbers
|Reported by:||Bless||Owned by:||adrian|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
It should be a validator for characters without numbers, because is possible that you want whatever text minus numbers.
num_re = re.compile(r'\d') def thereisNumeric: if num_re.search(field_data): raise ValidationError, "This value musn't contain numbers."
Change History (6)
comment:3 Changed 11 years ago by adrian
- Resolution set to wontfix
- Status changed from new to closed
comment:4 Changed 11 years ago by BleSS
- Resolution wontfix deleted
- Status changed from closed to reopened