[Django] #29255: bulk=False does not work with m2m relations

4 views
Skip to first unread message

Django

unread,
Mar 24, 2018, 4:40:45 PM3/24/18
to django-...@googlegroups.com
#29255: bulk=False does not work with m2m relations
-----------------------------------------+------------------------
Reporter: Victor Porton | Owner: nobody
Type: Bug | Status: new
Component: Documentation | Version: 1.11
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-----------------------------------------+------------------------
https://docs.djangoproject.com/en/1.11/ref/models/relations/ `add(*objs,
bulk=False)` docs suggest that `bulk=False` can be used with both reverse
foreign keys and with m2m relations.

In fact in Django 1.11 this keyword argument does not work with m2m
relations. So it is a bug either in Django or in the docs.

I have not checked Django 2.

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

Django

unread,
Mar 24, 2018, 7:24:55 PM3/24/18
to django-...@googlegroups.com
#29255: bulk=False does not work with m2m relations
-------------------------------+--------------------------------------

Reporter: Victor Porton | Owner: nobody
Type: Bug | Status: closed
Component: Documentation | Version: 1.11
Severity: Normal | Resolution: fixed

Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------------------------
Changes (by Tim Graham):

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


Comment:

This was addressed a couple days ago in
abe6c5defefc7057e7fb5f47b79643f7b89f7d90 (also backported to the Django
2.0 docs). The Django 1.11 documentation is no longer updated.

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

Reply all
Reply to author
Forward
0 new messages