aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/assessments
diff options
context:
space:
mode:
authorMatthew Lemon <lemon@matthewlemon.com>2020-03-13 16:56:39 +0000
committerMatthew Lemon <lemon@matthewlemon.com>2020-03-13 16:56:39 +0000
commit35256f7584b67f201946574c5f832ff1221ff1c6 (patch)
tree3e6002e03fa527ae5a9b0405370af89ba17d429c /ctrack/assessments
parent2ce247856a2be887875d892ae201f0ce73c799c2 (diff)
pop script now creates a dummy CAFSelfAssessment
Diffstat (limited to 'ctrack/assessments')
-rw-r--r--ctrack/assessments/models.py2
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):
"""