mirror of
https://github.com/django/django.git
synced 2025-08-04 10:59:45 +00:00
Fixed #23597 -- Clarified the manager that {Single,Multiple}ObjectMixin.model uses.
This commit is contained in:
parent
1e224b39c7
commit
e501d4c505
3 changed files with 9 additions and 2 deletions
|
@ -169,6 +169,11 @@ For example::
|
|||
This example allows you to request ``Person.authors.all()``, ``Person.editors.all()``,
|
||||
and ``Person.people.all()``, yielding predictable results.
|
||||
|
||||
.. _default-managers:
|
||||
|
||||
Default managers
|
||||
~~~~~~~~~~~~~~~~
|
||||
|
||||
If you use custom ``Manager`` objects, take note that the first ``Manager``
|
||||
Django encounters (in the order in which they're defined in the model) has a
|
||||
special status. Django interprets the first ``Manager`` defined in a class as
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue