aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ctrack/organisations/models.py8
-rw-r--r--ctrack/register/models.py2
2 files changed, 7 insertions, 3 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):
diff --git a/ctrack/register/models.py b/ctrack/register/models.py
index 54f60fe..0b4331b 100644
--- a/ctrack/register/models.py
+++ b/ctrack/register/models.py
@@ -1,3 +1,3 @@
-#from django.db import models
+# from django.db import models
# Create your models here.