How would I do the following query in django:
Asset.objects.all().distinct('checksum') # get all distinct checksum items
The equivalent in SQL would be:
SELECT * FROM asset GROUP BY checksum
Note that I need all fields here, so I cannot do something like Asset.objects.values_list('checksum').distinct(). How would I do this?
 
    