This commit is contained in:
Ross
2021-11-29 20:00:38 +00:00
parent 343808672a
commit 281cf84bd5
2 changed files with 4 additions and 1 deletions
+3
View File
@@ -225,6 +225,9 @@ class SeriesFinding(models.Model):
findings = self.findings.all().values_list("name")
return f"{self.series.id}/{findings}/{self.description}"
def annotation_as_string(self) -> str:
return json.dumps(self.annotation_json)
@reversion.register
class Series(models.Model):