aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/caf
diff options
context:
space:
mode:
authorMatthew Lemon <matt@matthewlemon.com>2020-08-26 15:23:37 +0100
committerMatthew Lemon <matt@matthewlemon.com>2020-08-26 15:23:37 +0100
commit36759e44bc59747256332809097342a32ab6db19 (patch)
tree93647aad2ebdb78338fea899595a9ccf2e875246 /ctrack/caf
parentbc556144060dcbbf1d89279b9c5f3d54fa271b6b (diff)
further asserts added to the test
Diffstat (limited to 'ctrack/caf')
-rw-r--r--ctrack/caf/models.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/ctrack/caf/models.py b/ctrack/caf/models.py
index a4afc29..892c2cf 100644
--- a/ctrack/caf/models.py
+++ b/ctrack/caf/models.py
@@ -165,3 +165,6 @@ class EssentialService(models.Model):
description = models.CharField(max_length=512)
organisation = models.ForeignKey(Organisation, on_delete=models.CASCADE)
systems = models.ManyToManyField(ApplicableSystem)
+
+ def __str__(self):
+ return self.name