diff options
Diffstat (limited to 'public')
-rw-r--r-- | public/views.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/public/views.py b/public/views.py index 35315e0..42f2f34 100644 --- a/public/views.py +++ b/public/views.py @@ -86,9 +86,12 @@ def download(request): @cache_control(max_age=300) def feeds(request): + repos = Repo.objects.all() + if not request.user.is_authenticated(): + repos = repos.filter(staging=False) context = { 'arches': Arch.objects.all(), - 'repos': Repo.objects.all(), + 'repos': repos, } return render(request, 'public/feeds.html', context) |