Re: Meta inheritance across abstract base class

2014-11-26 Thread Collin Anderson
Hi, Ohh. Yup. I didn't read that carefully enough. That behavior doesn't seem expected to me. Expecially considering this sentence: "if the child does not specify an ordering attribute or a get_latest_by attribute, it will inherit these from its parent." Collin On Tuesday, November 25, 2014

Re: Meta inheritance across abstract base class

2014-11-25 Thread Torsten Bronger
Hallöchen! Collin Anderson writes: > If you define a new class Meta on C, then it will _replace_ the > previous class Meta. [...] I indeed have a Meta class in C but it is derived from the upstream Meta class. The inheritance chain in my Meta's is uninterrupted. Tschö, Torsten. -- Torsten

Re: Meta inheritance across abstract base class

2014-11-25 Thread Collin Anderson
Hi, If you define a new class Meta on C, then it will _replace_ the previous class Meta. You can, however have class Meta inherit other class Meta. class Student(CommonInfo): # ... class Meta(CommonInfo.Meta): db_table = 'student_info'