`user.groups.remove(*user.groups.filter(name__in=groupnames))`?