Opened 7 years ago

Closed 7 years ago

#29255 closed Bug (fixed)

bulk=False does not work with m2m relations

Reported by: Victor Porton Owned by: nobody
Component: Documentation Version: 1.11
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

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.

Change History (1)

comment:1 by Tim Graham, 7 years ago

Resolution: fixed
Status: newclosed

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.

Note: See TracTickets for help on using tickets.
Back to Top