Re: ManyToMany with a "through" attribute in the admin profile

2009-05-05 Thread George Song
On 5/4/2009 6:36 PM, nbv4 wrote: > > > On May 4, 12:03 am, George Song wrote: >> On 5/3/2009 8:17 PM, nbv4 wrote: >> >> >> >>> On May 3, 3:51 pm, Ramiro Morales wrote: On Sun, May 3, 2009 at 4:26 PM, nbv4 wrote: > Everything is fine and dandy, except for when I want to use the admin

Re: ManyToMany with a "through" attribute in the admin profile

2009-05-04 Thread nbv4
On May 4, 12:03 am, George Song wrote: > On 5/3/2009 8:17 PM, nbv4 wrote: > > > > > On May 3, 3:51 pm, Ramiro Morales wrote: > >> On Sun, May 3, 2009 at 4:26 PM, nbv4 wrote: > > >>> Everything is fine and dandy, except for when I want to use the admin > >>> interface to create a new route. Al

Re: ManyToMany with a "through" attribute in the admin profile

2009-05-03 Thread George Song
On 5/3/2009 8:17 PM, nbv4 wrote: > On May 3, 3:51 pm, Ramiro Morales wrote: >> On Sun, May 3, 2009 at 4:26 PM, nbv4 wrote: >> >>> Everything is fine and dandy, except for when I want to use the admin >>> interface to create a new route. All I see is a dropdown for the >>> "often" field. I have t

Re: ManyToMany with a "through" attribute in the admin profile

2009-05-03 Thread nbv4
On May 3, 3:51 pm, Ramiro Morales wrote: > On Sun, May 3, 2009 at 4:26 PM, nbv4 wrote: > > > Everything is fine and dandy, except for when I want to use the admin > > interface to create a new route. All I see is a dropdown for the > > "often" field. I have to go to the RouteBase section of the

Re: ManyToMany with a "through" attribute in the admin profile

2009-05-03 Thread Ramiro Morales
On Sun, May 3, 2009 at 4:26 PM, nbv4 wrote: > > Everything is fine and dandy, except for when I want to use the admin > interface to create a new route. All I see is a dropdown for the > "often" field. I have to go to the RouteBase section of the admin to > add the rest. Normally if there is a Ma

ManyToMany with a "through" attribute in the admin profile

2009-05-03 Thread nbv4
I have a few models that looks like this: - class Route(models.Model): points = models.ManyToManyField(Base, through="RouteBase") often = models.IntegerField(choices=ROUTE_OFTEN, default=0) class RouteBase(models.Model): point = models.ForeignKey("Base") route = models.Forei