aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/caf/views.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--ctrack/caf/views.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/ctrack/caf/views.py b/ctrack/caf/views.py
index f7863d9..c90cb76 100644
--- a/ctrack/caf/views.py
+++ b/ctrack/caf/views.py
@@ -1,7 +1,7 @@
from django.views.generic import CreateView, ListView
from ctrack.caf.forms import CAFForm
-from ctrack.caf.models import EssentialService
+from ctrack.caf.models import ApplicableSystem
class CreateCAF(CreateView):
@@ -18,15 +18,15 @@ class ListCAF(ListView):
pass
-class ListEssentialService(ListView):
- model = EssentialService
+class ListApplicableSystem(ListView):
+ model = ApplicableSystem
# 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")
+ ess = ApplicableSystem.objects.all().order_by("organisation__name")
return ess
def get_context_data(self, **kwargs):