I need to avoid duplicate values while retrieving from database in django. I am having the result dictionary as list. 

```
 queryset = [{'name':'shankar','Age':'24'},{'name':'Manoj','Age':'26'},   {'name':'shankar','Age':'25'}]

```

I need to display the value in dropdown list as the value **shankar and Manoj**. I am retrieving the value like the query below

```
 queryset = Books.objects.all()

```

Now i want to avoid the duplicate value while displaying dropdown list in template page.

Thanks in advance.