Re: Model Meta inheriting ordering from abstract models

2016-02-09 Thread Podrigal, Aron
I see this was the intention from the very beginning as documented here [1], but wasn't my initial take. I guess it is debatable. In any case updating the documentation to clarify it would be helpful. [1] https://github.com/django/django/blob/0c20e88e65b8c2b1d097510ee2d7cfe6b2cf9b97/tests/modelte

Re: Model Meta inheriting ordering from abstract models

2016-02-09 Thread Tim Graham
Did you try looking through git blame and old tickets to find the reason for it? The issue is raised on https://code.djangoproject.com/ticket/11078. On Monday, February 8, 2016 at 11:19:02 PM UTC-5, Aron Podrigal wrote: > > Hi, > > While going through the code for ModelBase I came across the foll

Model Meta inheriting ordering from abstract models

2016-02-08 Thread Podrigal, Aron
Hi, While going through the code for ModelBase I came across the following which I was unable to get it clear from the documentation. A model inheriting from a concrete model does not inherit the Meta class of its parent no matter if it has a Meta of its own. However, it does inherit 2 options,