aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/assessments/models.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--ctrack/assessments/models.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/ctrack/assessments/models.py b/ctrack/assessments/models.py
index ab57fd5..db8c8e1 100644
--- a/ctrack/assessments/models.py
+++ b/ctrack/assessments/models.py
@@ -15,6 +15,9 @@ class CAFAssessment(models.Model):
class Meta:
verbose_name = "CAF Assessment"
+ def get_title(self):
+ return f"CAF Assessment for {self.caf.applicable_systems.first().organisation.name} - version {self.caf.version}"
+
def __str__(self):
return f"CAF Assessment for {self.caf.applicable_systems.first().organisation.name} - version {self.caf.version}"