From 83e2cac00ce3b1c3313d1d9170ff9a8ca38abd4d Mon Sep 17 00:00:00 2001 From: Laurent Date: Wed, 19 Feb 2025 16:48:19 +0100 Subject: [PATCH] fix crash --- tournaments/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tournaments/views.py b/tournaments/views.py index e98a4fa..906a526 100644 --- a/tournaments/views.py +++ b/tournaments/views.py @@ -741,7 +741,7 @@ def my_tournaments(request): def filter_user_tournaments(tournaments): return [t for t in tournaments if t.team_registrations.filter( - playerregistration__licence_id__startswith=stripped_license, + player_registrations__licence_id__startswith=stripped_license, walk_out=False ).exists()]