distinct keyword in model seems not working
|Reported by:||Owned by:||Adrian Holovaty|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
How to limit records with "distinct" keywords if every model seems to return all fields (together with primary key)? SELECT DISTINCT field1,field2 ... has sense only when primary key is not included in the field list. I checked the code and I could see Django always uses fields defined in model class + primary key...