From 89389a0b09a7d80f8653ebc5d1640f33dd8d9e06 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Tue, 18 Feb 2020 15:06:09 +0000 Subject: formatting --- ctrack/organisations/models.py | 8 ++++++-- 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. -- cgit v1.2.3