Merge pull request #2087 from alphagov/remove-scheduled-notification-from-schema

Don't join to scheduled_notifications
This commit is contained in:
Rebecca Law
2018-09-13 11:59:12 +01:00
committed by GitHub

View File

@@ -449,7 +449,7 @@ class NotificationWithTemplateSchema(BaseSchema):
class Meta:
model = models.Notification
strict = True
exclude = ('_personalisation', )
exclude = ('_personalisation', 'scheduled_notification')
template = fields.Nested(
TemplateSchema,