#28939: Document which ORM methods provide an instance hint to database routers
-------------------------------------+-------------------------------------
Reporter: Nick Pope | Owner: nobody
Type: | Status: new
Cleanup/optimization |
Component: Documentation | Version: dev
Severity: Normal | Resolution:
Keywords: prefetch, | Triage Stage: Accepted
prefetch_related, using, |
connection |
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Aliyah Stephens):
Hi, I'd like to work on this ticket to document which ORM methods provide
an instance hint to database routers.
Based on the discussion, I understand this is about improving the
documentation in the "Hints" section of the multi-database documentation
to clarify which ORM methods (like Model.save(), RelatedManager.add(),
etc.) pass instance hints to router.db_for_read() and
router.db_for_write() methods.
I'm claiming this ticket and will start working on a patch to add this
documentation.
--
Ticket URL: <
https://code.djangoproject.com/ticket/28939#comment:9>