Make all galleries public

This commit is contained in:
Alexandre Iooss 2022-01-30 13:13:53 +01:00
parent 8b768108d2
commit 4b3cf83181
7 changed files with 24 additions and 31 deletions

View file

@ -17,6 +17,6 @@ class MediaAccess(LoginRequiredMixin, View):
class IndexView(LoginRequiredMixin, ListView):
queryset = Gallery.objects.filter(is_public=True)
queryset = Gallery.objects.all()
paginate_by = 4
template_name = "index.html"