Merge branch 'main' into production

This commit is contained in:
Mouse Reeve 2021-02-03 16:50:00 -08:00
commit 6105a6921b

View file

@ -30,7 +30,7 @@ class Lists(View):
lists = models.List.objects.filter(
~Q(user=user),
books__isnull=False,
).all()
).distinct().all()
lists = privacy_filter(request.user, lists, ['public', 'followers'])
paginated = Paginator(lists, 12)