Allow updates to SMS prefixing setting

We’re extracting this from being determined based on what the sender
name is to its own setting.

This commit will let users set it independently.

Until the explicitly set it, it will still be determined based on
whether their default sender name matches the default for the platform.
This commit is contained in:
Chris Hill-Scott
2017-11-03 15:01:41 +00:00
parent db8f7032fe
commit 6d3855bba4
7 changed files with 116 additions and 4 deletions

View File

@@ -107,6 +107,7 @@ class ServiceAPIClient(NotifyAdminAPIClient):
'permissions',
'organisation_type',
'free_sms_fragment_limit',
'prefix_sms_with_service_name',
}
if disallowed_attributes:
raise TypeError('Not allowed to update service attributes: {}'.format(