diff --git a/grants/views/program.py b/grants/views/program.py index dd6ded5..b193311 100644 --- a/grants/views/program.py +++ b/grants/views/program.py @@ -181,7 +181,10 @@ def get_queryset(self): # Fetch applicants # but don't let a user see their own request applicants = list( - self.program.applicants.exclude(email=self.request.user.email) + self.program.applicants.exclude( + Q(email=self.request.user.email) | + Q(name=self.request.user.get_full_name()) + ) .prefetch_related("scores") .order_by("-applied") )