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.participates and user.registration.team \
|
||||||
and user.registration.team.participation.tournament in me.registration.organized_tournaments.all() \
|
and user.registration.team.participation.tournament in me.registration.organized_tournaments.all() \
|
||||||
or user.registration.is_volunteer and me.registration.is_volunteer \
|
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)
|
return super().dispatch(request, *args, **kwargs)
|
||||||
raise PermissionDenied
|
raise PermissionDenied
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue