diff options
Diffstat (limited to 'ctrack/caf')
-rw-r--r-- | ctrack/caf/models.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ctrack/caf/models.py b/ctrack/caf/models.py index a7d0019..0027b23 100644 --- a/ctrack/caf/models.py +++ b/ctrack/caf/models.py @@ -157,6 +157,10 @@ class CAF(models.Model): def sub_mode(self): return self.organisation.submode + def get_assessments(self): + return self.cafassessment_set.all() + + def __str__(self): # Get the organisation and applicable system return f"CAF | {self.organisation.name}_v{self.version}" |