[Django] #32835: ManyRelatedManager should support replace method

4 views
Skip to first unread message

Django

unread,
Jun 10, 2021, 5:05:05 AM6/10/21
to django-...@googlegroups.com
#32835: ManyRelatedManager should support replace method
-------------------------------------+-------------------------------------
Reporter: Seyed | Owner: nobody
Mohamad Moghadas |
Type: New | Status: new
feature |
Component: Database | Version: 3.2
layer (models, ORM) |
Severity: Normal | Keywords: orm
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------


--
Ticket URL: <https://code.djangoproject.com/ticket/32835>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Jun 10, 2021, 5:20:07 AM6/10/21
to django-...@googlegroups.com
#32835: ManyRelatedManager should support replace method
-------------------------------------+-------------------------------------
Reporter: Seyed Mohamad | Owner: nobody
Moghadas |
Type: New feature | Status: closed
Component: Database layer | Version: 3.2
(models, ORM) |
Severity: Normal | Resolution: invalid
Keywords: orm | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak):

* status: new => closed
* resolution: => invalid


Comment:

`.set()` replaces the set of related objects, see
[https://docs.djangoproject.com/en/3.2/ref/models/relations/#django.db.models.fields.related.RelatedManager.set
docs].

--
Ticket URL: <https://code.djangoproject.com/ticket/32835#comment:1>

Reply all
Reply to author
Forward
0 new messages