Re: Extend a field of an abstract model

2008-10-12 Thread Malcolm Tredinnick
On Sun, 2008-10-12 at 08:55 -0700, mrsource wrote: > I have defined an abstract Model with some fields: > > class Componente(models.Model): > name = models.CharField(max_length=80,unique=True) > description = models.TextField(blank=True) > class Meta: > abstract = True > >

Extend a field of an abstract model

2008-10-12 Thread mrsource
I have defined an abstract Model with some fields: class Componente(models.Model): name = models.CharField(max_length=80,unique=True) description = models.TextField(blank=True) class Meta: abstract = True and then in the derived class I would to define verbose_name property