Changes between Initial Version and Version 1 of Ticket #29440


Ignore:
Timestamp:
May 25, 2018, 4:40:47 AM (6 years ago)
Author:
Jeremy Lainé
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #29440 – Description

    initial v1  
    11Since Django 2.0, trying to pass bulk=True to a many-to-many RelatedManager results in an error:
    22
    3 ```TypeError: set() got an unexpected keyword argument 'bulk'```
     3`TypeError: set() got an unexpected keyword argument 'bulk'`
    44
    55The documentation however still states that the "bulk" argument exists, so I'm not sure whether the documentation or the code is wrong.
     
    99In `create_reverse_many_to_one_manager`:
    1010
    11 ```def set(self, objs, *, bulk=True, clear=False):```
     11`def set(self, objs, *, bulk=True, clear=False):`
    1212
    1313In `create_forward_many_to_many_manager`:
    1414
    15 ```def set(self, objs, *, clear=False)```
     15`def set(self, objs, *, clear=False):`
Back to Top