Merge pull request #1234 from alphagov/letter-branding

Add platform admin setting for letter branding
This commit is contained in:
Chris Hill-Scott
2017-04-24 10:33:39 +01:00
committed by GitHub
11 changed files with 194 additions and 17 deletions

View File

@@ -16,3 +16,6 @@ class OrganisationsClient(NotifyAdminAPIClient):
def get_organisations(self):
return self.get(url='/organisation')['organisations']
def get_letter_organisations(self):
return self.get(url='/dvla_organisations')

View File

@@ -91,7 +91,8 @@ class ServiceAPIClient(NotifyAdminAPIClient):
'created_by',
'branding',
'organisation',
'letter_contact_block'
'letter_contact_block',
'dvla_org_id',
}
if disallowed_attributes:
raise TypeError('Not allowed to update service attributes: {}'.format(