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:
Katie Smith
2019-05-03 15:13:39 +01:00
parent 00e7ccadad
commit 5be6b41195
7 changed files with 41 additions and 18 deletions

View File

@@ -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):