aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/caf
diff options
context:
space:
mode:
authorMatthew Lemon <lemon@matthewlemon.com>2020-10-11 15:17:35 +0100
committerMatthew Lemon <lemon@matthewlemon.com>2020-10-11 15:17:35 +0100
commitabd1b4926bc3aa1d0daba5bc5594a385898dd753 (patch)
tree85b2e6e511765e5419035f03ecada0955c6620d0 /ctrack/caf
parentd4f1bdfadb39ed966c2aeddba1b7fff898042fe6 (diff)
added CAFSingleDateEvent event
Diffstat (limited to '')
-rw-r--r--ctrack/caf/models.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/ctrack/caf/models.py b/ctrack/caf/models.py
index 5e3e2e2..a2015eb 100644
--- a/ctrack/caf/models.py
+++ b/ctrack/caf/models.py
@@ -4,7 +4,7 @@ from ctrack.caf.managers import ApplicableSystemManager
from ctrack.organisations.models import Organisation, Person
from django.urls.base import reverse
-from ctrack.register.models import EngagementEvent
+# from ctrack.register.models import EngagementEvent
class Grading(models.Model):
@@ -160,8 +160,9 @@ class CAF(models.Model):
def get_assessments(self):
return self.cafassessment_set.all()
- def get_events(self):
- return EngagementEvent.objects.filter(related_caf=self).all().order_by("-date")
+ # REMOVED UNTIL FIXED EVENT SYSTEM
+ # def get_events(self):
+ # return EngagementEvent.objects.filter(related_caf=self).all().order_by("-date")
def __str__(self):
# Get the organisation and applicable system