﻿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	RelatedManager.set() doesn't accept bulk keyword argument for many-to-many relations	Jeremy Lainé	nobody	"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	new	Database layer (models, ORM)	2.0	Normal				Unreviewed	0	0	0	0	0	0
