2👍
✅
A better way of writing this query without the subqueries would be:
Card.objects.all().exclude(sentiments__user__id=user.id)
Source:stackexchange.com
2👍
A better way of writing this query without the subqueries would be:
Card.objects.all().exclude(sentiments__user__id=user.id)