1
0
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:
Luoxzhg 2018-04-09 17:55:25 +08:00 committed by Tim Graham
parent 2e7b1e3297
commit f395b7653d

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