#31342: Default manager vs Base manager for RelatedManager
--------------------------------------+------------------------------------
Reporter: Benjamin Mampaey | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: Documentation | Version: 3.0
Severity: Normal | Resolution:
Keywords: manager | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------------------
Changes (by Carlton Gibson):
* version: 2.2 => 3.0
* type: Uncategorized => Cleanup/optimization
* easy: 1 => 0
* stage: Unreviewed => Accepted
Comment:
Hi Benjamin.
This comes up every so often — it's hard stuff.
The docs have:
> Base managers aren’t used when querying on related models.
But I think the required information is really in the Making Queries topic
page. I've [https://github.com/django/django/pull/12531 suggested a PR]
adding a link back to the
[https://docs.djangoproject.com/en/3.0/topics/db/queries/#following-
relationships-backward Following relationships backward] section there.
Hopefully that's clearer.
Thanks for the report.
--
Ticket URL: <https://code.djangoproject.com/ticket/31342#comment:1>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/066.83182eb57c61b3ac543c4f395518d2ff%40djangoproject.com.