This commit is contained in:
Ross
2021-11-29 19:06:41 +00:00
parent d7a4aafd44
commit 0344b149a6
2 changed files with 4 additions and 1 deletions
+3
View File
@@ -214,6 +214,9 @@ class SeriesFindings(models.Model):
findings = models.ManyToManyField(Finding, blank=True)
annotation_json = models.TextField(null=True, blank=True)
def __str__(self) -> str:
return f"{self.series.id}/{self.description}"
@reversion.register
class Series(models.Model):
modality = models.ForeignKey(