On Thu, Nov 26, 2009 at 6:31 PM, David wrote:
>
> >>> Listing.objects.order_by("book__courses")
>
> gives me Listings with id's (5, 1, 3, 5, 2, 4), and
>
> >>> Listing.objects.order_by("-book__courses")
>
> gives me Listings with id's (6, 4, 5, 2, 5,1)
On Thu, Nov 26, 2009 at 6:38 PM, David wrot
P.S. id == 6 disappears in ascending and id == 3 disappears in
descending.
It's not a surprise that id == 5 is duplicated because it is the only
Listing__book which has a relationship with two courses, the rest have
a relationship with only one. That part does look suspicious to me
though, as if t
2 matches
Mail list logo