﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
29440	Document that RelatedManager.set() doesn't accept bulk keyword argument for many-to-many relations	Jeremy Lainé	Jeremy Lainé	"Since Django 2.0, trying to pass bulk=True to a many-to-many RelatedManager results in an error:

`TypeError: set() got an unexpected keyword argument 'bulk'`

The documentation however still states that the ""bulk"" argument exists, so I'm not sure whether the documentation or the code is wrong.

Looking at the django code, the set() method for reverse many-to-one, and forward many-to-many relations don't have the same signature.

In `create_reverse_many_to_one_manager`:

`def set(self, objs, *, bulk=True, clear=False):`

In `create_forward_many_to_many_manager`:

`def set(self, objs, *, clear=False):`"	Bug	closed	Documentation	2.0	Normal	fixed		Bartosz Grabski	Ready for checkin	1	0	0	0	0	0
