|
|
|
@ -192,6 +192,6 @@ def warn_team_walkout_status_change(sender, instance, **kwargs): |
|
|
|
|
|
|
|
|
|
|
|
@receiver(post_save, sender=TeamRegistration) |
|
|
|
@receiver(post_save, sender=TeamRegistration) |
|
|
|
def team_confirm_if_placed(sender, instance, **kwargs): |
|
|
|
def team_confirm_if_placed(sender, instance, **kwargs): |
|
|
|
if instance.id is None or instance.tournament is None or instance.tournament.enable_online_registration is False: |
|
|
|
if instance.id is None or instance.tournament is None: |
|
|
|
return |
|
|
|
return |
|
|
|
instance.confirm_if_placed() |
|
|
|
instance.confirm_if_placed() |
|
|
|
|