2👍
✅
queryset = Model.objects.order_by('modelextended__author').distinct('modelextended__author')
Source:stackexchange.com
2👍
queryset = Model.objects.order_by('modelextended__author').distinct('modelextended__author')