On 8/31/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > class Tigger(Poll): > bounce = meta.CharField(maxlength=200) > > def __repr__(self): > return self.bounce > [...] > This isn't quite right ;-) Anyone else come across this useage pattern? > Are there any ways to have Django support this?
That's intentional behavior. When you subclass a Django model, you create a "copy" of it that lets you add/remove fields and override metadata. See this page for examples: http://www.djangoproject.com/documentation/models/subclassing/ . In your case, you're adding a "bounce" field to the poll model. Adrian -- Adrian Holovaty holovaty.com | djangoproject.com | chicagocrime.org