+
+class ServicesView(LoginRequiredMixin, ListView):
+ def get_queryset(self):
+ return Service.for_user(self.request.user)
+
+
+class ServiceDetail(LoginRequiredMixin, DetailView):
+ def get_queryset(self):
+ return Service.for_user(self.request.user)