class Dokument(Model): ... class Meta: abstract = True ordering = ['id']
class SupisMajetku(Dokument): ... class Pozemok(SupisMajetku): ... -------------------------------------- is producing this SQL: -------------------------------------- SELECT "supisy_supismajetku"."id", ... FROM "supisy_pozemok" INNER JOIN "supisy_supismajetku" ON ("supisy_pozemok"."supismajetku_ptr_id" = "supisy_supismajetku"."id") WHERE ... -------------------------------------- whitout any ORDERING clause. Seems to be the backend for postgreSQL is bad. Any suggestions or experience ? -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.