#28514: Clarify docs regarding idempotence of RelatedManager.add()
-------------------------------------+-------------------------------------
Reporter: Дилян Палаузов | Owner: Jezeniel
Type: | Zapanta
Cleanup/optimization | Status: assigned
Component: Documentation | Version: 1.11
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Дилян Палаузов):
I don't think that the ON CONFLICT DO NOTHING change will get into Django
2.0, even if #28668 was fixed yesterday.
Under these circumstances for the next year or so {{{.add(one more
elements)}}} can raise an {{{IntegrityError}}} or send wrong m2m_changed
signals and this should be documented.
--
Ticket URL: <https://code.djangoproject.com/ticket/28514#comment:15>
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/072.65e1486e381cb871f7a2da43c79974de%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.