mirror of
https://gitlab.com/animath/si/plateforme.git
synced 2024-12-25 06:22:22 +00:00
Fix typo: intersting -> interesting
This commit is contained in:
parent
73cadd8cfd
commit
140048bcdb
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user