On Thu, Apr 16, 2009 at 3:15 AM, Malcolm Tredinnick <
malc...@pointy-stick.com> wrote:

>
> On Thu, 2009-04-16 at 00:01 -0700, Margie wrote:
> > Ah - ok, cool, good to know.  I am on 1.1 pre-alpha SVN-9814.
>
> Hmm .. then maybe there's an actual problem there. The ability to use
> nested querysets was added in r9701 (with a few bug fixes in subsequent
> patches). I only said 1.1-beta as a rough reference point, as opposed to
> 1.0.X.
>
> Might be worth having a look at the SQL that is being generated to see
> what's going on there. Maybe I've screwed up limits or something (I
> can't really stop to test this myself right now, as I'm still at work).
>
> Have a look at the output of
>
> PdTask.objects.filter(tiles__in=pdTask.objects.all()[0]).query.as_sql()
>
> and see if it looks broken in any obvious fashion. If so, feel free to
> open a ticket (assign it to "mtredinnick" so I'll remember to look at it
> on the weekend). You shoudl still try a slightly later version
> (something around beta-1) just to check it wasn't fixed by some of the
> later tweaks in that area, but I'm now a bit suspicious that something
> is going wrong.
>
> Regards,
> Malcolm
>
>
>
> >
>
Are you using MySQL?  I know it doesn't support limits int nested querysets,
perhaps it's just not returning anything instead of throwing an exception.

Alex

-- 
"I disapprove of what you say, but I will defend to the death your right to
say it." --Voltaire
"The people's good is the highest law."--Cicero

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to