aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/organisations
diff options
context:
space:
mode:
authorMatthew Lemon <lemon@matthewlemon.com>2020-05-22 16:22:30 +0100
committerMatthew Lemon <lemon@matthewlemon.com>2020-05-22 16:22:30 +0100
commit5d489ef3685b32ee5e9c68839b1e187870c0d659 (patch)
treee28d090eb217cad555d07a154e6479878bae5c64 /ctrack/organisations
parent44959fde6494d90d644a11866d86c704a5cf5034 (diff)
started work on optional User as organisation.Person object - tests
Diffstat (limited to 'ctrack/organisations')
-rw-r--r--ctrack/organisations/models.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ctrack/organisations/models.py b/ctrack/organisations/models.py
index b14b03b..b11e97b 100644
--- a/ctrack/organisations/models.py
+++ b/ctrack/organisations/models.py
@@ -41,7 +41,7 @@ class Person(models.Model):
(6, "Other"),
]
- def get_sentinel_user():
+ def get_sentinel_user(): # type: ignore
"""
We need this so that we can ensure models.SET() is applied with a callable
to handle when Users are deleted from the system, preventing the Person objects
@@ -110,7 +110,7 @@ class Organisation(models.Model):
(3, "NA"),
]
- def get_sentinel_user():
+ def get_sentinel_user(): # type: ignore
"""
We need this so that we can ensure models.SET() is applied with a callable
to handle when Users are deleted from the system, preventing the Organisations