#33641: The many to many model does not use the full routing function
-------------------------------------+-------------------------------------
Reporter: HPCMGM | Owner: nobody
Type: New | Status: new
feature |
Component: Database | Version: 4.0
layer (models, ORM) |
Severity: Normal | Keywords: router
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
In the many to many model, read-write separation is not supported
file: django/db/models/fields/related_descriptors.py
lines: 744, 1000
changed:
744: old_objs = set(self.using(router.db_for_read(self.model)).all())
1000: old_ids =
set(self.using(router.db_for_read(self.model)).values_list(self.target_field.target_field.attname,
flat=True))
--
Ticket URL: <https://code.djangoproject.com/ticket/33641>
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/0107018022929f38-e485e698-5ba7-4517-828a-c2de8144a0d8-000000%40eu-central-1.amazonses.com.