1
You can follow the backwards relation from Entity
to Watchlist
:
DistinctAlert.objects.filter(entities__watchlist__isnull=False)
Source:stackexchange.com
1
You can follow the backwards relation from Entity
to Watchlist
:
DistinctAlert.objects.filter(entities__watchlist__isnull=False)