mirror of
https://github.com/django/django.git
synced 2025-07-22 18:49:25 +00:00
[2.0.x] Fixed typo in docs/topics/db/managers.txt.
Backport of 99539ca319eb5f5fe6486c4a699f5f40da76f8e4 from master
This commit is contained in:
parent
2e7b1e3297
commit
f395b7653d
@ -214,7 +214,7 @@ appropriate for your circumstances, you can tell Django which class to use by
|
|||||||
setting :attr:`Meta.base_manager_name
|
setting :attr:`Meta.base_manager_name
|
||||||
<django.db.models.Options.base_manager_name>`.
|
<django.db.models.Options.base_manager_name>`.
|
||||||
|
|
||||||
Manager's aren't used when querying on related models. For example, if the
|
Base managers aren't used when querying on related models. For example, if the
|
||||||
``Question`` model :ref:`from the tutorial <creating-models>` had a ``deleted``
|
``Question`` model :ref:`from the tutorial <creating-models>` had a ``deleted``
|
||||||
field and a base manager that filters out instances with ``deleted=True``, a
|
field and a base manager that filters out instances with ``deleted=True``, a
|
||||||
queryset like ``Choice.objects.filter(question__name__startswith='What')``
|
queryset like ``Choice.objects.filter(question__name__startswith='What')``
|
||||||
|
Loading…
x
Reference in New Issue
Block a user