Bundle trimed down alternative to photologue

This commit is contained in:
Alexandre Iooss 2022-01-30 08:20:03 +01:00
parent 2da3419b8d
commit 5368a51a76
40 changed files with 2652 additions and 70 deletions

View file

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