Actually, I think this could be rewritten to take full advantage of prefetch_related, but it would still have the aforementioned disadvantage.