[Answered ]-In Django, can you filter a queryset by a parent (uses ForeignKey field) model's field value?

1👍

You filter with:

TransactionDetails.objects.filter(transaction__category__name='Uncategorized')

Leave a comment