Re: multi table inheritance ordering bug in postgreSQL backend?

2010-05-25 Thread gentlestone
seems to be there was no problem with postrgeSQL backend the reason was multiple model inheritance - first ancestor with ordering, second whitout ... was interpreted randomly in model query maybe helps to someone ... On May 24, 9:08 pm, gentlestone wrote: > class

multi table inheritance ordering bug in postgreSQL backend?

2010-05-24 Thread gentlestone
class Dokument(Model): ... class Meta: abstract = True ordering = ['id'] class SupisMajetku(Dokument): ... class Pozemok(SupisMajetku): ... -- is producing this SQL: -- SELECT