Django Joins Query to Get Objects based on the other table
I have the three Django models as following:
- Product Model (Has product related information)
- Channel Model (Has channel information like Location and Everything)
- 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.