2👍
✅
You could filter on the object_pk
of the comment. Just make sure it is in the list of active video ids. For example:
active_videos_ids = Video.objects.filter(active=True).values_list('id', flat=True)
comments = Comment.objects.for_model(Video).filter(object_pk__in=active_videos_ids)
I’ve never actually used the comments app before, so let me know if you have any problems with this, and I will dig into it.
Source:stackexchange.com