#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>
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 visit
https://groups.google.com/d/msgid/django-updates/0107019a7fc5227c-d542a830-7769-425b-956e-790830210e3c-000000%40eu-central-1.amazonses.com.