From 140048bcdb8c20452a24b2c46fe83a5a863e08c2 Mon Sep 17 00:00:00 2001 From: ynerant Date: Sat, 13 Feb 2021 16:59:49 +0100 Subject: [PATCH] Fix typo: intersting -> interesting --- apps/registration/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/registration/views.py b/apps/registration/views.py index 7b30630..76418d4 100644 --- a/apps/registration/views.py +++ b/apps/registration/views.py @@ -244,7 +244,7 @@ class UserDetailView(LoginRequiredMixin, DetailView): and user.registration.participates and user.registration.team \ and user.registration.team.participation.tournament in me.registration.organized_tournaments.all() \ or user.registration.is_volunteer and me.registration.is_volunteer \ - and me.registration.interesting_tournaments.intersection(user.registration.intersting_tournaments): + and me.registration.interesting_tournaments.intersection(user.registration.interesting_tournaments): return super().dispatch(request, *args, **kwargs) raise PermissionDenied