Example #1
0
 def get(self, *args, **kwargs):
     service = CalipsoAvailableImagesServices()
     images = service.get_all_images()
     serializer_class = CalipsoImageSerializer(images, many=True)
     return Response(serializer_class.data)
    def get_queryset(self):
        service = CalipsoAvailableImagesServices()

        return service.get_all_images()