diff --git a/website/views.py b/website/views.py index c68dd16..ed98ea3 100644 --- a/website/views.py +++ b/website/views.py @@ -741,13 +741,13 @@ def get_queryset(self): if self.request.GET.get("view") == "grid": self.template_name = "website/job_grid.html" - - if self.request.user.is_authenticated: - # Exclude jobs the user has applied for - applied_jobs = Application.objects.filter( - user=self.request.user - ).values_list("job_id", flat=True) - self.queryset = self.queryset.exclude(id__in=applied_jobs) + + # if self.request.user.is_authenticated: + # # Exclude jobs the user has applied for + # applied_jobs = Application.objects.filter( + # user=self.request.user + # ).values_list("job_id", flat=True) + # self.queryset = self.queryset.exclude(id__in=applied_jobs) ordering = self.request.GET.get("ordering") if ordering and ordering.lstrip("-") in [