From 36759e44bc59747256332809097342a32ab6db19 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Wed, 26 Aug 2020 15:23:37 +0100 Subject: further asserts added to the test --- ctrack/caf/models.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ctrack/caf') 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 -- cgit v1.2.3