diff options
author | Matthew Lemon <matt@matthewlemon.com> | 2020-02-18 15:06:09 +0000 |
---|---|---|
committer | Matthew Lemon <matt@matthewlemon.com> | 2020-02-18 15:06:09 +0000 |
commit | 89389a0b09a7d80f8653ebc5d1640f33dd8d9e06 (patch) | |
tree | ce9798057960f85c961037fa7761a9eeba913795 /ctrack | |
parent | bc583a851b05e41dc59a18bd2fd9e777205485d3 (diff) |
formatting
Diffstat (limited to '')
-rw-r--r-- | ctrack/organisations/models.py | 8 | ||||
-rw-r--r-- | ctrack/register/models.py | 2 |
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. |