aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/assessments/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'ctrack/assessments/models.py')
-rw-r--r--ctrack/assessments/models.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/ctrack/assessments/models.py b/ctrack/assessments/models.py
index 1465dbb..b2afd68 100644
--- a/ctrack/assessments/models.py
+++ b/ctrack/assessments/models.py
@@ -55,13 +55,17 @@ class CAFContributingOutcome(models.Model):
One of the 39 as set out in the framework.
"""
designation = models.CharField(max_length=5, help_text="e.g. A1.a, B3.c, etc")
- descriptor = models.CharField(max_length=50, help_text="e.g. Board Direction")
+ name = models.CharField(max_length=50, help_text="e.g. Board Direction")
+ description = models.TextField(max_length=1000)
principle = models.ForeignKey(CAFPrinciple, on_delete=models.CASCADE)
order_id = models.IntegerField()
class Meta:
verbose_name = "CAF Contributing Outcome"
+ def __str__(self):
+ return " ".join([self.designation, self.name])
+
class CAFSelfAssessmentOutcomeScore(models.Model):
"""