aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/assessments/models.py
diff options
context:
space:
mode:
authorMatthew Lemon <lemon@matthewlemon.com>2020-03-15 16:44:45 +0000
committerMatthew Lemon <lemon@matthewlemon.com>2020-03-15 16:44:45 +0000
commit6be79d66aabffc4b07d5a339a16a02f0d9556296 (patch)
tree2d29a0e570de6c9acf6ebf5cc5730e31f3422800 /ctrack/assessments/models.py
parentac87c8494fab9f7cf1c97ec1e5dbe46eb28899de (diff)
now created a bunch of Principles
Diffstat (limited to 'ctrack/assessments/models.py')
-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 84e8607..1465dbb 100644
--- a/ctrack/assessments/models.py
+++ b/ctrack/assessments/models.py
@@ -46,6 +46,9 @@ class CAFPrinciple(models.Model):
class Meta:
verbose_name = "CAF Principle"
+ def __str__(self):
+ return ".".join([self.designation, self.title])
+
class CAFContributingOutcome(models.Model):
"""