a_igin

primitive

Sep 16th, 2020
638
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.             order_products = OrderProduct.objects.filter(
  2.                 order=data['order'],
  3.                 product=data['product'])
  4.             for order_product in order_products:
  5.                 order_product_additions = CompanyAddition.objects.filter(
  6.                     related_order_additions__order_product__product=order_product.product)
  7.                 print(order_product)
  8.                 print(order_product_additions)
RAW Paste Data