diff options
Diffstat (limited to '')
-rw-r--r-- | ctrack/caf/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ctrack/caf/models.py b/ctrack/caf/models.py index 669fc27..59675e0 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, blank=True, null=True) + caf = models.ForeignKey("CAF", on_delete=models.CASCADE, blank=True, null=True, related_name="essential_services") class Meta: verbose_name = "Essential Service" |