Changes between Initial Version and Version 1 of Ticket #16058, comment 1
- Timestamp:
- Aug 10, 2011, 8:42:36 AM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #16058, comment 1
initial v1 1 I suspect is is because the (default, implicit) ordering Article model queries have and/or the `unique_together` condition. You are seeing duplicate results because '.ditinct()` is acting on all the columns included in the low level SQL query.1 I suspect is is because the (default, implicit) ordering Article model queries have and/or the `unique_together` condition. You are seeing duplicate results because `.distinct()` is acting on all the columns included in the low level SQL query. 2 2 3 3 Take a look at: