FYI, here's the quick linkto that ticket.
http://code.djangoproject.com/ticket/3906
On Jun 17, 3:12 pm, Jamie Norrish <[EMAIL PROTECTED]> wrote:
> On Sun, 2007-06-17 at 20:25 +0000, [EMAIL PROTECTED] wrote:
> > The call to Comment.objects.filter(poll=p) generates the following raw
> > SQL (comment columns are replaced by * for brevity):
> > SELECT * FROM "comments_comment" LEFT OUTER JOIN "comments_comment" AS
> > "m2m_comments_comment__poll" ON "comments_comment"."id" =
> > "m2m_comments_comment__poll"."object_id" WHERE
> > ("m2m_comments_comment__poll"."object_id" = 47)
>
> > Clearly, we have an incorrect join here. It makes no sense to join
> > the comments_comment table on itself.
>
> This looks very much like the same behaviour as I reported in ticket
> #3906.
>
> Jamie
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-developers?hl=en
-~----------~----~----~----~------~----~------~--~---