QuerySet .distinct([*fields]) documentation improvements
|Reported by:||jtiai||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
QuerySet does have .distinct([*fields]) method has optional feature to provide fields that are used on distinct. This feature is supported only by PostgreSQL.
In documentation there is a small note about fields being supported in PostgreSQL only. Almost all examples though uses fields provided which works only in PostgreSQL. It gives impression if reader does just a quick look of examples that passing parameters is common operation which works everywhere.
Examples should use common format that works for everybody and with a note add database spesifics.
Change History (3)
comment:1 Changed 2 years ago by akaariai
- Needs documentation unset
- Needs tests unset
- Patch needs improvement unset
- Triage Stage changed from Unreviewed to Accepted
comment:2 Changed 23 months ago by Tim Graham <timograham@…>
- Resolution set to fixed
- Status changed from new to closed