Re: Getting list of objects with objects that has foreign key to it

2009-05-26 Thread Joshua Partogi
On May 27, 12:20 am, Daniel Roseman wrote: > On May 26, 3:08 pm, Joshua Partogi wrote: > > > > > > > Hi all, > > > I have a very trivial case that somebody might have solved before, but I can > > not get my head around. > > > I have this two objects that is related to each other: > > > > > c

Re: Getting list of objects with objects that has foreign key to it

2009-05-26 Thread Daniel Roseman
On May 26, 3:08 pm, Joshua Partogi wrote: > Hi all, > > I have a very trivial case that somebody might have solved before, but I can > not get my head around. > > I have this two objects that is related to each other: > > > class Product(models.Model): >     name = models.CharField(max_lengt