Laurent 9 months ago
commit 9a446362fa
  1. 3
      tournaments/services/tournament_registration.py

@ -307,5 +307,6 @@ class TournamentRegistrationService:
def _license_already_registered(self, stripped_license): def _license_already_registered(self, stripped_license):
return PlayerRegistration.objects.filter( return PlayerRegistration.objects.filter(
team_registration__tournament=self.tournament, team_registration__tournament=self.tournament,
licence_id__startswith=stripped_license licence_id__startswith=stripped_license,
team_registration__walk_out=False
).exists() ).exists()

Loading…
Cancel
Save