Re: Union of types in my models

2009-08-24 Thread Karen Tracey
On Mon, Aug 24, 2009 at 2:46 AM, Mikoskay wrote: > > Hi, > > Is there any equivalent of C++ union construction for my Django > models? I know I can do it at low-level, but I hope it's not > necessary. For example: there's a model Transaction with attribute > Client pointing to model IndividualCli

Union of types in my models

2009-08-24 Thread Mikoskay
Hi, Is there any equivalent of C++ union construction for my Django models? I know I can do it at low-level, but I hope it's not necessary. For example: there's a model Transaction with attribute Client pointing to model IndividualClient OR to model CompanyClient. How to do that? Thanks for your