VirtualMachine.objects.order_by('pool__customer').distinct('pool__customer')
Been thru this ticket already
also tried asking ChatGPT (lol), the answer doesn't have .all()
but gave the same error, wouldn't think it made a difference anyway cos .order_by('pool__customer')
should overwrite it already