Re: How to access fields of custom intermediary table

2009-07-16 Thread mike
On Jul 16, 12:06 pm, Tom Evans wrote: > > My question is:  How do I access the extra fields stored in my custom > > intermediate table?  In this case that would be the count field.  I > > have search the Django documentation but so far I haven't found any > > examples. > > > Thanks for any help!

Re: How to access fields of custom intermediary table

2009-07-16 Thread Tom Evans
On Thu, 2009-07-16 at 08:30 -0700, mike wrote: > Hi, > > I have the following models: > > class Memory(models.Model): > partnum = models.CharField(max_length=30) > size = models.IntegerField() > > def __unicode__(self): > return self.partnum > > class Motherboard(models.Mod

How to access fields of custom intermediary table

2009-07-16 Thread mike
Hi, I have the following models: class Memory(models.Model): partnum = models.CharField(max_length=30) size = models.IntegerField() def __unicode__(self): return self.partnum class Motherboard(models.Model): name = models.CharField(max_length=20) sockets = models.In

How to access fields of custom intermediary table

2009-07-16 Thread mike
Hi, I have the following models: class Memory(models.Model): partnum = models.CharField(max_length=30) size = models.IntegerField() def __unicode__(self): return self.partnum class Motherboard(models.Model): name = models.CharField(max_length=20) sockets = models.In