how to get the full data in django using distinct() code example Example: django models distinct q = XXXModels.objects.values('{filed}').distinct()