#32045: Document that GenericRelation.remove()/clear() delete objects.
-------------------------------------+-------------------------------------
Reporter: chgad | Owner: Craig
Type: | Smith
Cleanup/optimization | Status: assigned
Component: Documentation | Version: 3.1
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Craig Smith):
* owner: (none) => Craig Smith
* status: new => assigned
Comment:
Hi, I hope that the above patch can resolve this one. It only adds
descriptions of the remove and clear methods, and not too much detail. But
it addresses the important point that those two methods on GenericRelation
managers delete the related objects. Please let me know if it needs more
detail or breadth. Also, should the tests be updated to confirm the
behaviour of those methods. Happy to add some tests for these methods too
if it helps.
--
Ticket URL: <https://code.djangoproject.com/ticket/32045#comment:14>
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/063.dacfed595e59967719fd79a4bb9e4cd5%40djangoproject.com.