﻿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
27875	Manager inheritance documentation doesn't mention manager_inheritance_from_future	ek-init	nobody	"The Managers documentation says:
> Managers from base classes are always inherited by the child class, using Python’s normal name resolution order (names on the child class override all others; then come names on the first parent class, and so on).

> If no managers are declared on a model and/or its parents, Django automatically creates the objects manager.

For abstract base classes this works properly, inheriting the manager from the base model and therefore overriding the objects manager if so declared.
For my non-abstract inheritance example, this does not work the same way ...

{{{
#!python
class MyManager(models.Manager):
    pass


class A(models.Model):
    objects = MyManager()
    other = MyManager()


class B(A):
    pass
}}}

{{{
In [4]: B.objects.__class__
Out[4]: django.db.models.manager.Manager

In [5]: B.other.__class__
Out[5]: test_app.models.MyManager
}}}"	Bug	closed	Documentation	1.10	Normal	fixed	Manager inheritance		Accepted	1	0	0	0	0	0
