def get(self, request, *args, **kwargs):
        """
        List all products in the shopping cart
        """
        cart = ShoppingCartProxy(request)
        return JsonResponse(cart.get_products(onlypublic=request.GET.get('onlypublic', True)))
def get ( self , request , * args , ** kwargs ) : cart = ShoppingCartProxy ( request ) return JsonResponse ( cart . get_products ( onlypublic = request . GET . get ( 'onlypublic' , True ) ) )
List all products in the shopping cart