distinct in objtecs.values list in django code example Example: django models distinct q = XXXModels.objects.values('{filed}').distinct()