def get_carts_order_data(self, uid): carts_obj = CartsView() # carts_1 - {'sku_id':[count, select]} all_data = carts_obj.get_carts_all_data(uid) return {k: v for k, v in all_data.items() if v[1] == 1}
def get_carts_order_data(self, uid): carts_obj = CartsView() all_data = carts_obj.get_carts_all_data(uid) return {k: v for k, v in all_data.items() if v[1] == 1}
def get_carts_order_data(self, uid): carts_obj = CartsView() all_data = carts_obj.get_carts_all_data(uid) #{skuid:[count, selected]} return {k:v for k, v in all_data.items() if v[1] == 1}