mirror of
https://github.com/django/django.git
synced 2025-06-03 10:39:12 +00:00
Fixed #36335 -- Fixed typo in docs/topics/db/managers.txt.
This commit is contained in:
parent
045110ff30
commit
7b394b9988
@ -197,7 +197,7 @@ Using managers for related object access
|
|||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
By default, Django uses an instance of the ``Model._base_manager`` manager
|
By default, Django uses an instance of the ``Model._base_manager`` manager
|
||||||
class when accessing related objects (i.e. ``choice.question``), not the
|
class when accessing related objects (e.g. ``choice.question``), not the
|
||||||
``_default_manager`` on the related object. This is because Django needs to be
|
``_default_manager`` on the related object. This is because Django needs to be
|
||||||
able to retrieve the related object, even if it would otherwise be filtered out
|
able to retrieve the related object, even if it would otherwise be filtered out
|
||||||
(and hence be inaccessible) by the default manager.
|
(and hence be inaccessible) by the default manager.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user