I have the following model:
class Entry(models.Model):
name = models.Charfield(max_length=255)
client = models.Charfield(max_length=255)
Maybe the following will work, with numpy module
import numpy
queryset = Entry.objects.all()
''' catch the number of distinct Entry considering the client fields '''
queryset_client_entries = Entry.objects.distinct('client')
new_list = list(numpy.resize(queryset_client_entries, queryset.count()))
''' An alternative list of clients depending on the length of queryset '''