1👍
✅
You need this:
query = tag_relation.objects.filter(category__id=cat_id, relation__location='india')
Source:stackexchange.com
1👍
You need this:
query = tag_relation.objects.filter(category__id=cat_id, relation__location='india')