Re: model inheritance with foreign key problem

2009-01-16 Thread Karen Tracey
On Fri, Jan 16, 2009 at 7:14 AM, Marco Minutoli wrote: > > I have these three models: > > class Address(models.Model): >name = models.CharField(max_length=100) >## many other fields ## > >class Meta: >ordering = ('name',) > >def __unicode__(self): >return self.name

model inheritance with foreign key problem

2009-01-16 Thread Marco Minutoli
I have these three models: class Address(models.Model): name = models.CharField(max_length=100) ## many other fields ## class Meta: ordering = ('name',) def __unicode__(self): return self.name class Organization(models.Model): name = models.CharField(max_le