Re: SubClassing problem

2006-07-03 Thread wiz
> class MPTTTree(models.Model): > created_at = models.DateTimeField(_('creation date'), auto_now_add=True) > updated_at = models.DateTimeField(_('last update date'), auto_now=True) > parent = models.ForeignKey("self", null = True, blank = True) > lhs = models.IntegerField(default=0

Re: SubClassing problem

2006-07-02 Thread Malcolm Tredinnick
On Sun, 2006-07-02 at 23:12 +0200, Laurent Rahuel wrote: > Hi, > > I got a serious problem with model inheritance in my Django model. Here's a > sample: > > from django.db import models > > class MPTTTree(models.Model): > created_at = models.DateTimeField(_('creation date'), auto_now_add=T