mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-19 14:03:52 -04:00
Allow Welsh characters in SMS
- This brings in the latest version of notifications-utils which allows Welsh characters in SMS templates. - Updated the pricing page to show the new prices for SMS with certain Welsh characters
This commit is contained in:
@@ -40,7 +40,7 @@ from app.main.validators import (
|
||||
DoesNotStartWithDoubleZero,
|
||||
LettersNumbersAndFullStopsOnly,
|
||||
NoCommasInPlaceHolders,
|
||||
OnlyGSMCharacters,
|
||||
OnlySMSCharacters,
|
||||
ValidEmail,
|
||||
ValidGovEmail,
|
||||
)
|
||||
@@ -639,7 +639,7 @@ class BaseTemplateForm(StripWhitespaceForm):
|
||||
|
||||
class SMSTemplateForm(BaseTemplateForm):
|
||||
def validate_template_content(self, field):
|
||||
OnlyGSMCharacters()(None, field)
|
||||
OnlySMSCharacters()(None, field)
|
||||
|
||||
|
||||
class EmailTemplateForm(BaseTemplateForm):
|
||||
|
||||
Reference in New Issue
Block a user