From a38fce358643f5f8e1b2d7ec8e17342f760e16d4 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Fri, 2 Oct 2020 14:06:22 +0100 Subject: Now lists basic CAF events on CAF detail page --- ctrack/register/models.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'ctrack/register/models.py') diff --git a/ctrack/register/models.py b/ctrack/register/models.py index f485761..a435002 100644 --- a/ctrack/register/models.py +++ b/ctrack/register/models.py @@ -4,7 +4,6 @@ from typing import Optional, Dict from django.contrib.auth import get_user_model from django.db import models -from ctrack.caf.models import CAF from ctrack.organisations.models import Person @@ -64,7 +63,7 @@ class EngagementEvent(models.Model): response_date_requested = models.DateField(blank=True, null=True) response_received = models.DateField(blank=True, null=True) related_caf = models.ForeignKey( - CAF, blank=True, on_delete=models.CASCADE, null=True, help_text="If the event relates to a CAF, refer to it here." + "caf.CAF", blank=True, on_delete=models.CASCADE, null=True, help_text="If the event relates to a CAF, refer to it here." ) comments = models.TextField(max_length=1000, blank=True, null=True, help_text="Use this to provide further detail about the event.") -- cgit v1.2.3