On Wed, Aug 5, 2009 at 12:58 AM, LeeRisq wrote:
>
> Does anyone know if an intermediate table can be specified on more
> than two models? For instance:
>
> class A(m.Model):
> B = ManyToManyField(B, through='D')
> C = ManyToManyField(C, through='D')
>
> Will this
On Tue, Aug 4, 2009 at 3:06 PM, LeeRisq wrote:
>
>> I don't believe it would work, but even if it did, what would this do?
>> What's the expecected behavior?
>
>
> class A defines an consumer order
>
> class B and C both define different lines of product
>
> I'd like to store
> I don't believe it would work, but even if it did, what would this do?
> What's the expecected behavior?
class A defines an consumer order
class B and C both define different lines of product
I'd like to store all the ordering info in one intermediate table
while maintaining different
On Tue, Aug 4, 2009 at 11:58 AM, LeeRisq wrote:
>
> Does anyone know if an intermediate table can be specified on more
> than two models? For instance:
>
> class A(m.Model):
> B = ManyToManyField(B, through='D')
> C = ManyToManyField(C, through='D')
>
> Will this
Does anyone know if an intermediate table can be specified on more
than two models? For instance:
class A(m.Model):
B = ManyToManyField(B, through='D')
C = ManyToManyField(C, through='D')
Will this validate and actually work?
--~--~-~--~~~---~--~~
5 matches
Mail list logo