diff --git a/app/text/models.py b/app/text/models.py index cd0700b..4467645 100644 --- a/app/text/models.py +++ b/app/text/models.py @@ -142,5 +142,7 @@ class Text(models.Model): data['title'] = self.title data['byline'] = self.byline data['body'] = self.body + if isinstance(self.annotations, list) and len(self.annotations) > 0: + data['annotations'] = self.annotations data.update(self.data) return json.dumps(data)