class TrainingListAPIView(ListAPIView):
# bla-bla-bla
def list(self, request, *args, **kwargs):
queryset = self.filter_queryset(self.get_queryset())
serializer = self.get_serializer(queryset,
many=True,
fields=('name', 'description', 'url', 'slug'))
return Response(serializer.data)