diff options
author | Matthew Lemon <matt@matthewlemon.com> | 2020-03-03 11:41:00 +0000 |
---|---|---|
committer | Matthew Lemon <matt@matthewlemon.com> | 2020-03-03 11:41:00 +0000 |
commit | ec21e940b9bbfa235961be630dec8547f81396ce (patch) | |
tree | 108bc79196797ffc1ac3d1b85639fae7375be3b2 /ctrack/caf | |
parent | f1e4b29f7cf82e0ec54cd978d37a842e18f8e1af (diff) |
added TODO
Diffstat (limited to 'ctrack/caf')
-rw-r--r-- | ctrack/caf/views.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ctrack/caf/views.py b/ctrack/caf/views.py index 405fa0e..f7863d9 100644 --- a/ctrack/caf/views.py +++ b/ctrack/caf/views.py @@ -21,6 +21,10 @@ class ListCAF(ListView): class ListEssentialService(ListView): model = EssentialService + # 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 + def get_queryset(self): ess = EssentialService.objects.all().order_by("organisation__name") return ess |