aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/organisations/models.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--ctrack/organisations/models.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/ctrack/organisations/models.py b/ctrack/organisations/models.py
index f91dabf..e256eb1 100644
--- a/ctrack/organisations/models.py
+++ b/ctrack/organisations/models.py
@@ -90,6 +90,9 @@ class Person(models.Model):
def get_organisation_name(self):
return self.organisation.name
+ def get_full_name(self):
+ return " ".join([self.first_name, self.last_name])
+
class Meta:
verbose_name_plural = "People"