Changes between Initial Version and Version 1 of Ticket #24218, comment 3
- Timestamp:
- Jan 27, 2015, 7:04:42 AM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #24218, comment 3
initial v1 1 Per the Postgres documentation snippe d, shouldn't the `ORDER BY` actually be applied to the sub-query to ensure a predictable result?1 Per the Postgres documentation snippet, shouldn't the `ORDER BY` actually be applied to the sub-query to ensure a predictable result? 2 2 3 Also, make sure to test behavior with both bare `distinct()` calls and calls where joins are involved (e.g. `Model.di ctinct('fkfield__related_model_field')`)3 Also, make sure to test behavior with both bare `distinct()` calls and calls where joins are involved (e.g. `Model.distinct('fkfield__related_model_field')`)