added existing m2ms were not correctly parsed
This commit is contained in:
parent
1d6ce7179d
commit
60551ff9b0
1 changed files with 1 additions and 1 deletions
|
@ -392,7 +392,7 @@ class BaseQueryWrapper(BaseWrapper):
|
|||
set(int(pk[1:]) for pk in pks if self.is_created_pk(pk)))
|
||||
|
||||
return (((q & ~Q(pk__in=(pk for pk in remove_pks if not self.is_created_pk(pk)))) |
|
||||
Q(pk__in=(pk for pk in remove_pks if not self.is_created_pk(pk)))),
|
||||
Q(pk__in=(pk for pk in add_pks if not self.is_created_pk(pk)))),
|
||||
set(int(pk[1:]) for pk in add_pks if self.is_created_pk(pk)))
|
||||
|
||||
raise NotImplementedError
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue