Fixed typo in docs/topics/db/managers.txt.

This commit is contained in:
Luoxzhg 2018-04-09 17:55:25 +08:00 committed by Tim Graham
parent c3055242c8
commit 99539ca319
1 changed files with 1 additions and 1 deletions

View File

@ -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')``