aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/organisations/models.py
diff options
context:
space:
mode:
authorMatthew Lemon <matt@matthewlemon.com>2020-02-18 15:06:09 +0000
committerMatthew Lemon <matt@matthewlemon.com>2020-02-18 15:06:09 +0000
commit89389a0b09a7d80f8653ebc5d1640f33dd8d9e06 (patch)
treece9798057960f85c961037fa7761a9eeba913795 /ctrack/organisations/models.py
parentbc583a851b05e41dc59a18bd2fd9e777205485d3 (diff)
formatting
Diffstat (limited to '')
-rw-r--r--ctrack/organisations/models.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/ctrack/organisations/models.py b/ctrack/organisations/models.py
index e34c61e..631d441 100644
--- a/ctrack/organisations/models.py
+++ b/ctrack/organisations/models.py
@@ -43,7 +43,9 @@ class Person(models.Model):
(5, "DV"),
(6, "Other"),
]
- primary_nis_contact = models.BooleanField(default=False, verbose_name="Primary NIS contact")
+ primary_nis_contact = models.BooleanField(
+ default=False, verbose_name="Primary NIS contact"
+ )
voluntary_point_of_contact = models.BooleanField(default=False)
has_egress = models.BooleanField(default=False, verbose_name="Has Egress")
title = models.IntegerField(choices=TITLES, default=1)
@@ -65,7 +67,9 @@ class Person(models.Model):
clearance_expiry = models.DateField(blank=True)
active = models.BooleanField(default=True)
date_ended = models.DateField(blank=True)
- predecessor = models.ForeignKey('self', blank=True, on_delete=models.CASCADE, related_name="previous_person")
+ predecessor = models.ForeignKey(
+ "self", blank=True, on_delete=models.CASCADE, related_name="previous_person"
+ )
comments = models.TextField(max_length=1000)
def __str__(self):