diff options
Diffstat (limited to 'ctrack/caf/views.py')
-rw-r--r-- | ctrack/caf/views.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ctrack/caf/views.py b/ctrack/caf/views.py index c33b2d1..f9d794e 100644 --- a/ctrack/caf/views.py +++ b/ctrack/caf/views.py @@ -6,12 +6,12 @@ from ctrack.assessments.models import CAFAssessment, CAFObjective, CAFPrinciple, from ctrack.caf.models import ApplicableSystem, CAF -# class ListCAF(LoginRequiredMixin, ListView): -# model = CAF -# paginate_by = 20 +class ListCAF(LoginRequiredMixin, ListView): + model = CAF + + def get_context_data(self, **kwargs): + return super().get_context_data(**kwargs) -# def get_context_data(self, **kwargs): -# return super().get_context_data(**kwargs) # Let's write a traditional function view! def caf_detail_view(request, pk): |