using distinct in django query
- by Hulk
There is a column as designation in the defaults table,How to get the distinct designation values from defaults table
In the below the distinct applies on the id field, this need to be on designation field
def = defaults.objects.filter(name=sc).distinct()
And can some one explain what is flat=true condition
Thanks..