human
In Django, how do I filter based on all entities in a many-to-many relation instead of any?
assistant
Here is some code to in Django, filter `Task.objects` based on all entities in ['A', 'P', 'F']

Task.objects.exclude(prerequisites__status__in=['A', 'P', 'F'])

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.