Re: Need help correctly using Join's (ForeignKey, ManyToManyField) in my admin

2007-05-20 Thread Malcolm Tredinnick
On Sun, 2007-05-20 at 11:34 -0700, Greg wrote: > Malcolm, > Ok, I've modified my models.py with the following code > > class sdetails(models.Model): > color = models.ForeignKey(color) > size = models.ForeignKey(size) > price = models.ForeignKey(price) > > class style(models.Mod

Re: Need help correctly using Join's (ForeignKey, ManyToManyField) in my admin

2007-05-20 Thread Greg
Malcolm, Ok, I've modified my models.py with the following code class sdetails(models.Model): color = models.ForeignKey(color) size = models.ForeignKey(size) price = models.ForeignKey(price) class style(models.Model): name = models.CharField(maxlength=100)

Re: Need help correctly using Join's (ForeignKey, ManyToManyField) in my admin

2007-05-20 Thread Malcolm Tredinnick
On Sun, 2007-05-20 at 10:03 -0700, Greg wrote: > Hello, > I am trying to create a Django website where I sell area rugs. I'm > starting the process of creating the structure of my site, but am > having problems creating my admin correctly. Each area rug that I > sell has a list of sizes (with a

Need help correctly using Join's (ForeignKey, ManyToManyField) in my admin

2007-05-20 Thread Greg
Hello, I am trying to create a Django website where I sell area rugs. I'm starting the process of creating the structure of my site, but am having problems creating my admin correctly. Each area rug that I sell has a list of sizes (with a price associated with each size). I can't seem to figure