aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/caf/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'ctrack/caf/models.py')
-rw-r--r--ctrack/caf/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ctrack/caf/models.py b/ctrack/caf/models.py
index c17f064..669fc27 100644
--- a/ctrack/caf/models.py
+++ b/ctrack/caf/models.py
@@ -50,7 +50,7 @@ class EssentialService(models.Model):
organisation = models.ForeignKey(
Organisation, on_delete=models.SET(get_sentinel_org)
)
- caf = models.ForeignKey("CAF", on_delete=models.CASCADE)
+ caf = models.ForeignKey("CAF", on_delete=models.CASCADE, blank=True, null=True)
class Meta:
verbose_name = "Essential Service"