diff options
-rw-r--r-- | ctrack/caf/admin.py | 2 | ||||
-rw-r--r-- | ctrack/caf/views.py | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/ctrack/caf/admin.py b/ctrack/caf/admin.py index 20e2b2a..f19e8f4 100644 --- a/ctrack/caf/admin.py +++ b/ctrack/caf/admin.py @@ -20,8 +20,6 @@ def get_caf_name(obj): class CAFAdmin(admin.ModelAdmin): - # TODO - we need the CAF list to show essential services - # but this is a many-to-many relationship, so we need to summarise it somehow model = CAF inlines = [ApplicableSystemAdmin] list_display = [get_caf_name, "quality_grading", "confidence_grading", "file"] diff --git a/ctrack/caf/views.py b/ctrack/caf/views.py index c90cb76..e37bbe2 100644 --- a/ctrack/caf/views.py +++ b/ctrack/caf/views.py @@ -24,6 +24,7 @@ class ListApplicableSystem(ListView): # TODO - add primary_nis_contact tick to the context # Context can be easily found with: # org.person_set.filter(primary_nis_contact=True) or similar + # probably need a custom manager for this - to add in the POC def get_queryset(self): ess = ApplicableSystem.objects.all().order_by("organisation__name") |