fixes on club group attribution

This commit is contained in:
imperosol
2024-12-03 17:50:14 +01:00
parent 0ae1e850f4
commit 1e29ae4171
4 changed files with 188 additions and 55 deletions

View File

@ -173,7 +173,8 @@ class Command(BaseCommand):
club=club,
)
)
Membership.objects.bulk_create(memberships)
memberships = Membership.objects.bulk_create(memberships)
Membership._add_club_groups(memberships)
def create_uvs(self):
root = User.objects.get(username="root")