Text message not Sms

This commit is contained in:
Chris Hill-Scott
2016-08-22 13:30:03 +01:00
parent 5666719a92
commit 1e254415d2
2 changed files with 2 additions and 2 deletions

View File

@@ -337,7 +337,7 @@ class ServiceSmsSender(Form):
def validate_sms_sender(form, field):
import re
if field.data and not re.match('^[a-zA-Z0-9\s]+$', field.data):
raise ValidationError('Sms text message sender can only contain alpha-numeric characters')
raise ValidationError('Text message sender can only contain alpha-numeric characters')
class ServiceBrandingOrg(Form):