aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/assessments/models.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--ctrack/assessments/models.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/ctrack/assessments/models.py b/ctrack/assessments/models.py
index 35484a8..84e8607 100644
--- a/ctrack/assessments/models.py
+++ b/ctrack/assessments/models.py
@@ -22,13 +22,16 @@ class CAFObjective(models.Model):
"""
One of 4 as set out in the framework...
"""
- name = models.CharField(max_length=20, help_text="e.g. Managing Risk")
+ name = models.CharField(max_length=100, help_text="e.g. Managing Risk")
description = models.TextField(max_length=500)
order_id = models.IntegerField()
class Meta:
verbose_name = "CAF Objective"
+ def __str__(self):
+ return self.name
+
class CAFPrinciple(models.Model):
"""