diff options
author | Matthew Lemon <lemon@matthewlemon.com> | 2020-03-13 16:56:39 +0000 |
---|---|---|
committer | Matthew Lemon <lemon@matthewlemon.com> | 2020-03-13 16:56:39 +0000 |
commit | 35256f7584b67f201946574c5f832ff1221ff1c6 (patch) | |
tree | 3e6002e03fa527ae5a9b0405370af89ba17d429c /ctrack/assessments/models.py | |
parent | 2ce247856a2be887875d892ae201f0ce73c799c2 (diff) |
pop script now creates a dummy CAFSelfAssessment
Diffstat (limited to 'ctrack/assessments/models.py')
-rw-r--r-- | ctrack/assessments/models.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ctrack/assessments/models.py b/ctrack/assessments/models.py index 549416d..35484a8 100644 --- a/ctrack/assessments/models.py +++ b/ctrack/assessments/models.py @@ -15,6 +15,8 @@ class CAFSelfAssessment(models.Model): class Meta: verbose_name = "CAF Self Assessment" + def __str__(self): + return f"CAF Self Assessment for {self.caf.applicable_systems.first().organisation.name} - version {self.caf.version}" class CAFObjective(models.Model): """ |