'Returns a new QuerySet instance that will select only distinct results.'

def distinct(self, *field_names):

    assert self.query.can_filter(), 'Cannot    create    distinct    fields    once    a    slice    has    been    taken.'
    obj = self._clone()
    obj.query.add_distinct_fields(*field_names)
    return obj
