Re: another problem with M2M through intermediary

2008-08-20 Thread Russell Keith-Magee
On Wed, Aug 20, 2008 at 12:30 PM, akonsu <[EMAIL PROTECTED]> wrote: > > > consider the code below. it has two print statements at the end. their > output should be identical, but it is not. i think there is a bug. ... > print [p.x for p in Pair.objects.filter(y = y0, name = 'd')] > print y0.xs.fil

another problem with M2M through intermediary

2008-08-19 Thread akonsu
hello, consider the code below. it has two print statements at the end. their output should be identical, but it is not. i think there is a bug. thanks konstantin class X(models.Model) : name = models.SlugField() def __str__(self) : return self.name class Y(models.Model) : name = m