On Thu, Aug 02, David Cramer wrote:
>
> This was my best solution. I honestly wouldnt ever encourage anything
> where you dont specify which foreignkeys to follow. JOINs can get very
> slow when they expand beyond 2 or 3 tables, especially when table
> sizes increase.
Agreed ;-) I even think the
This was my best solution. I honestly wouldnt ever encourage anything
where you dont specify which foreignkeys to follow. JOINs can get very
slow when they expand beyond 2 or 3 tables, especially when table
sizes increase.
On Aug 2, 2:28 am, Michael Radziej <[EMAIL PROTECTED]> wrote:
> On Thu, Au
On Thu, Aug 02, David Cramer wrote:
>
> Seems I slipped in the diff. I have to actually apply the patch to at
> least 2 different versions of Django with our current setup, can get
> tedious :P
>
> *args should be *fields :)
;-)
Well, for the deeper levels, is there a way to express "follow
m
Seems I slipped in the diff. I have to actually apply the patch to at
least 2 different versions of Django with our current setup, can get
tedious :P
*args should be *fields :)
On Aug 1, 9:26 am, Michael Radziej <[EMAIL PROTECTED]> wrote:
> On Wed, Aug 01, David Cramer wrote:
>
> > I've submitte
On Wed, Aug 01, David Cramer wrote:
>
> I've submitted a ticket and attached part of the patch (the fields
> selection on select_related): http://code.djangoproject.com/ticket/5020
Funny, I'm working on something similar.
I don't understand how the new API looks like, and particularily how thi
I've submitted a ticket and attached part of the patch (the fields
selection on select_related): http://code.djangoproject.com/ticket/5020
On Jul 30, 12:39 pm, David Cramer <[EMAIL PROTECTED]> wrote:
> I have taken a bit of time to rewrite part of the QuerySet code
> (including select_related). P
I have taken a bit of time to rewrite part of the QuerySet code
(including select_related). Please, no lectures about a QuerySet
refactoring.
The changes force .filter() to take advantage of select_related.
Before: .filter(mykey__name='Hello') would give you results, but if
you didn't do .select