.
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user