2👍
✅
I think what you are looking for can be solved using distinct()
result = Deal.objects.filter(meter__company=2).distinct()
Source:stackexchange.com
2👍
I think what you are looking for can be solved using distinct()
result = Deal.objects.filter(meter__company=2).distinct()