aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/caf/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'ctrack/caf/models.py')
-rw-r--r--ctrack/caf/models.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ctrack/caf/models.py b/ctrack/caf/models.py
index c290ee3..637ef92 100644
--- a/ctrack/caf/models.py
+++ b/ctrack/caf/models.py
@@ -75,5 +75,5 @@ class CAF(models.Model):
def __str__(self):
# Get the organisation and applicable system
- org = ApplicableSystem.objects.filter(caf=self).first()
- return f"CAF | {org.name}"
+ ass = ApplicableSystem.objects.filter(caf=self).first()
+ return f"CAF | {ass.organisation.name}"