Re: multi-table inheritance and binding objects

2009-05-24 Thread V
thanks, it's the same problem On May 24, 5:56 pm, Alex Gaynor wrote: > On Sun, May 24, 2009 at 10:53 AM, Viktor wrote: > > > Hi, > > > I have two models, a parent and a child, and would like to extend an > > already existing parent to have the child attributes as well. I'm > > likely to miss so

Re: multi-table inheritance and binding objects

2009-05-24 Thread Alex Gaynor
On Sun, May 24, 2009 at 10:53 AM, Viktor wrote: > > Hi, > > I have two models, a parent and a child, and would like to extend an > already existing parent to have the child attributes as well. I'm > likely to miss something obvious, but couldn't find it. > > class Attendee(models.Model): > > and

multi-table inheritance and binding objects

2009-05-24 Thread Viktor
Hi, I have two models, a parent and a child, and would like to extend an already existing parent to have the child attributes as well. I'm likely to miss something obvious, but couldn't find it. class Attendee(models.Model): and class Submission(Attendee): attendee = models.OneToOneField(A