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
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
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
3 matches
Mail list logo