From 93a27f958301b1ee745820c6bfbfc7fb4c230cde Mon Sep 17 00:00:00 2001 From: Razmig Sarkissian Date: Mon, 20 Oct 2025 18:06:07 +0200 Subject: [PATCH] Modify team unregistration to cancel registration instead of deleting --- tournaments/services/tournament_unregistration.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tournaments/services/tournament_unregistration.py b/tournaments/services/tournament_unregistration.py index 935ee24..00fb1ee 100644 --- a/tournaments/services/tournament_unregistration.py +++ b/tournaments/services/tournament_unregistration.py @@ -110,9 +110,9 @@ class TournamentUnregistrationService: def _delete_registered_team(self): team_registration = self.player_registration.team_registration - team_registration.delete() - # team_registration.cancel_registration() - # team_registration.save() + # team_registration.delete() + team_registration.cancel_registration() + team_registration.save() def _cleanup_session(self): self.request.session['team_registration'] = []