Merge pull request #2887 from alphagov/cache-the-serialised-things

Serialise and cache services and API keys
This commit is contained in:
Chris Hill-Scott
2020-06-26 09:18:45 +01:00
committed by GitHub
15 changed files with 215 additions and 50 deletions

View File

@@ -205,7 +205,7 @@ class ProviderDetailsHistorySchema(BaseSchema):
strict = True
class ServiceSchema(BaseSchema):
class ServiceSchema(BaseSchema, UUIDsAsStringsMixin):
created_by = field_for(models.Service, 'created_by', required=True)
organisation_type = field_for(models.Service, 'organisation_type')