Ooh, did not know that you could pass an unevaluated queryset into an __in query and have subqueries automatically generated: The Django ORM and Subqueries

— 1 likes