#27462: Clarify what's contained in m2m_changed's "pk_set" argument
--------------------------------------+------------------------------------
Reporter: Seti | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: Documentation | Version: 1.10
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------------------
Changes (by Tim Graham):
* type: Uncategorized => Cleanup/optimization
* stage: Unreviewed => Accepted
Comment:
I think a documentation clarification indicating that `pk_set` may be the
IDs that are passed in, not necessarily those that are removed, may have
to do.
At least, it looks like it would take an extra query to fetch the IDs that
are actually removed (and I think accuracy couldn't be guaranteed for
`pre_remove` due to race conditions).
--
Ticket URL: <https://code.djangoproject.com/ticket/27462#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 post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/071.ee7b330a9b0905a49ef7583cd69f732a%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.