aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack
diff options
context:
space:
mode:
authorMatthew Lemon <matt@matthewlemon.com>2020-02-25 07:10:34 +0000
committerMatthew Lemon <matt@matthewlemon.com>2020-02-25 07:10:34 +0000
commitfdf52fb15cb594f8717b852c33a292149a21b8b8 (patch)
tree47231f250e2558893c167c189f58a1e8b14d0a9c /ctrack
parent257d5fbdc2b6336f5a3799aeec3bc906348d59ee (diff)
tiding
Diffstat (limited to '')
-rw-r--r--ctrack/caf/models.py3
-rw-r--r--ctrack/caf/tests.py3
2 files changed, 2 insertions, 4 deletions
diff --git a/ctrack/caf/models.py b/ctrack/caf/models.py
index 5426fd9..14b2650 100644
--- a/ctrack/caf/models.py
+++ b/ctrack/caf/models.py
@@ -19,6 +19,7 @@ class Ranking(models.Model):
description = models.TextField(max_length=250)
type = models.IntegerField(choices=RANKING_TYPE, default=1)
+
def __str__(self):
return self.descriptor
@@ -75,7 +76,7 @@ class EssentialService(models.Model):
verbose_name = "Essential Service"
def __str__(self):
- return self.name
+ return f"{self.organisation.name} | {self.name}"
class CAF(models.Model):
diff --git a/ctrack/caf/tests.py b/ctrack/caf/tests.py
deleted file mode 100644
index 4d66077..0000000
--- a/ctrack/caf/tests.py
+++ /dev/null
@@ -1,3 +0,0 @@
-#from django.test import TestCase
-
-# Create your tests here.