On Tue, Mar 24, 2009 at 4:26 PM, Konstantin S wrote:
>
>
>
> On Mar 24, 11:13 pm, Alex Gaynor wrote:
> > On Tue, Mar 24, 2009 at 4:05 PM, Konstantin S
> wrote:
> >
> > > Hello!
> >
> > > I have two unrelated models that have one common field.
> >
> > > class Media(models.Model):
> > >title
On Mar 24, 11:13 pm, Alex Gaynor wrote:
> On Tue, Mar 24, 2009 at 4:05 PM, Konstantin S wrote:
>
> > Hello!
>
> > I have two unrelated models that have one common field.
>
> > class Media(models.Model):
> > title = models.CharField(max_length=500)
> > ...
>
> > class Link(models.Model):
On Tue, Mar 24, 2009 at 4:15 PM, Paulo Köch wrote:
>
> Does that generate a join or a not in? This is very relevant for
> performance.
>
> Cheers,
> Paulo Köch
>
>
>
> On Tue, Mar 24, 2009 at 20:13, Alex Gaynor wrote:
> >
> >
> > On Tue, Mar 24, 2009 at 4:05 PM, Konstantin S
> wrote:
> >>
> >>
Does that generate a join or a not in? This is very relevant for performance.
Cheers,
Paulo Köch
On Tue, Mar 24, 2009 at 20:13, Alex Gaynor wrote:
>
>
> On Tue, Mar 24, 2009 at 4:05 PM, Konstantin S wrote:
>>
>> Hello!
>>
>> I have two unrelated models that have one common field.
>>
>> class
On Tue, Mar 24, 2009 at 4:05 PM, Konstantin S wrote:
>
> Hello!
>
> I have two unrelated models that have one common field.
>
> class Media(models.Model):
>title = models.CharField(max_length=500)
>...
>
> class Link(models.Model):
>title = models.CharField(max_length=500)
>...
>
Hello!
I have two unrelated models that have one common field.
class Media(models.Model):
title = models.CharField(max_length=500)
...
class Link(models.Model):
title = models.CharField(max_length=500)
...
Now I want to select those objects from the Media model that do not
exis
6 matches
Mail list logo