﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
14701	Meta attributes from abstract class	Joe	nobody	"{{{
class CommonInfo(models.Model):
    name = models.IntegerField(default=1)
    class Meta:
        abstract = True
        ordering = ['name']

class Student(CommonInfo):
    class Meta(CommonInfo.Meta):
        db_table = 'student_info'
        ordering = []
}}}

When instantiating Student as s,
{{{
|4>s=Student()
|5>s.Meta.
s.Meta.__doc__     s.Meta.__module__  s.Meta.abstract    s.Meta.ordering

|6>s.Meta.ordering
Out[6]: ['name']

}}}

The ordering attribute from the parent abstract base class is not overwritten as described at: http://docs.djangoproject.com/en/dev/topics/db/models/#meta-and-multi-table-inheritance

I may understand this behavior wrong, but i'd expect to be able to override the ordering attribute or clear it entirely (ordering=[]).  Is this working as designed or is this an issue?"		closed	Database layer (models, ORM)	1.2		worksforme	meta		Unreviewed	0	0	0	0	0	0
