I posted what I thought was a good basis for what you’re trying to do here at Django queryset chain annotate and distinct together - #6 by KenWhitesell. Is this along the right lines, or is there some difference between this and that that I’m not seeing?