[Answer]-Fetching data from Many to Many relationship (intermediate table)

1👍

Normally you would do something like

category = Category.objects.get(pk=10)
products = category.product_set.all()  # note that this is a queryset
👤second

Leave a comment