aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/register
diff options
context:
space:
mode:
authorMatthew Lemon <lemon@matthewlemon.com>2020-10-02 14:06:22 +0100
committerMatthew Lemon <lemon@matthewlemon.com>2020-10-02 14:06:22 +0100
commita38fce358643f5f8e1b2d7ec8e17342f760e16d4 (patch)
tree768c80bf2a9df477cc17227f2ae813b44c1f3c52 /ctrack/register
parent844804083d74731c6f275b25f01e6085271edc9e (diff)
Now lists basic CAF events on CAF detail page
Diffstat (limited to 'ctrack/register')
-rw-r--r--ctrack/register/models.py3
1 files changed, 1 insertions, 2 deletions
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.")