Django Joins Query to Get Objects based on the other table

I have the three Django models as following:

  1. Product Model (Has product related information)
  2. Channel Model (Has channel information like Location and Everything)
  3. ProductChannelListing (Which product available in which channel)

I want to make a query on products with the channel ID and get all the products which are marked available in that channel.

Back to Top