intent: In Django, how do I filter based on all entities in a many-to-many relation instead of any?
rewritten_intent: In Django, filter `Task.objects` based on all entities in ['A', 'P', 'F']
snippet: Task.objects.exclude(prerequisites__status__in=['A', 'P', 'F'])