From 35256f7584b67f201946574c5f832ff1221ff1c6 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Fri, 13 Mar 2020 16:56:39 +0000 Subject: pop script now creates a dummy CAFSelfAssessment --- ctrack/assessments/models.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ctrack/assessments') 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): """ -- cgit v1.2.3