Always use False for leave commit before joining new group.

This commit is contained in:
voussoir 2018-05-03 18:10:12 -07:00
parent a8fc1206d9
commit 22269af2ca

View file

@ -198,7 +198,7 @@ class GroupableMixin:
if self == group:
raise ValueError('Cant join self')
self.leave_group(commit=commit)
self.leave_group(commit=False)
group.add_child(self, commit=commit)
@decorators.transaction