Changes between Initial Version and Version 1 of Ticket #16058, comment 1


Ignore:
Timestamp:
Aug 10, 2011, 8:42:36 AM (13 years ago)
Author:
Ramiro Morales

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.
     1I 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.
    22
    33Take a look at:
Back to Top