On Thu, Jul 9, 2009 at 5:52 PM, Randy Barlow<[email protected]> wrote: > sjtirtha declared: >> class Media(Document): >> link = .... >> type = .... >> class Meta: >> abstract = True >> >> class Image(Media): >> size = ..... > > You should know that this will generate three DB tables. The media and > document tables will share primary keys, with the media table defining > any fields not found in the document table.
that's what the 'abstract = True' avoids -- Javier --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---

