|
|
|
|
@ -47,9 +47,12 @@ class TournamentRegistrationRepository: |
|
|
|
|
rank=rank, |
|
|
|
|
computed_rank=computed_rank, |
|
|
|
|
licence_id=player_data['licence_id'], |
|
|
|
|
email=team_form_data['email'], |
|
|
|
|
phone_number=team_form_data['mobile_number'] |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
if is_captain is True: |
|
|
|
|
player_registration.email=team_form_data['email'] |
|
|
|
|
player_registration.phone_number=team_form_data['mobile_number'] |
|
|
|
|
|
|
|
|
|
player_registration.save() |
|
|
|
|
|
|
|
|
|
team_registration.set_weight() |
|
|
|
|
|