Re: Specifying a database connection for ManyToMany add()

2021-06-23 Thread Mike Dewhirst
On 23/06/2021 7:18 pm, Jayanth Shankar wrote: Hi, I am trying to add items to a ManyToMany relationship, but I would like to make the operation use a particular database connection, like one might do when calling save() on a model instance. However, looking at the source for

Specifying a database connection for ManyToMany add()

2021-06-23 Thread Jayanth Shankar
Hi, I am trying to add items to a ManyToMany relationship, but I would like to make the operation use a particular database connection, like one might do when calling save() on a model instance. However, looking at the source for ManyToMany.add(), the function defaults to checking the