Added a model for event state (including data migration, signal based
notifications, etc.)
This commit is contained in:
5
dav_events/validators.py
Normal file
5
dav_events/validators.py
Normal file
@@ -0,0 +1,5 @@
|
||||
from django.core.validators import RegexValidator
|
||||
|
||||
|
||||
AlphanumericValidator = RegexValidator(r'^[0-9a-zA-Z]*$', 'Only characters A-Z, a-z and digits 0-9 are allowed.')
|
||||
LowerAlphanumericValidator = RegexValidator(r'^[0-9a-z]*$', 'Only characters a-z and digits 0-9 are allowed.')
|
||||
Reference in New Issue
Block a user