Skip to content

Commit e298ec4

Browse files
committed
[1.10.x] Fixed #27875 -- Doc'd manager_inheritance_from_future in manager docs.
Backport of 22eb15a from stable/1.11.x
1 parent eff483f commit e298ec4

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

docs/topics/db/managers.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -369,8 +369,10 @@ Here's how Django handles custom managers and :ref:`model inheritance
369369

370370
.. versionchanged:: 1.10
371371

372-
In older versions, manager inheritance varied depending on the type of
373-
model inheritance (i.e. :ref:`abstract-base-classes`,
372+
Some inheritance behaviors described above don't apply unless you set
373+
``manager_inheritance_from_future = True`` on the model's ``Meta`` class.
374+
In older versions and if you don't set that attribute, manager inheritance
375+
varies depending on the type of model inheritance (:ref:`abstract-base-classes`,
374376
:ref:`multi-table-inheritance`, or :ref:`proxy-models`), especially
375377
with regards to electing the default manager.
376378

0 commit comments

Comments
 (0)