This commit is contained in:
Zhao-Linux 2022-10-10 14:07:50 +07:00
parent ad8c1c5e43
commit cd9647463b
2 changed files with 3 additions and 3 deletions

View file

@ -70,7 +70,7 @@ class FeedView(ListView):
now = timezone.now()
visible_contests = (
Contest.get_visible_contests(self.request.user, True)
Contest.get_visible_contests(self.request.user, show_own_contests_only=True)
.filter(is_visible=True)
.order_by("start_time")
)