aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/caf/models.py
diff options
context:
space:
mode:
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