Don't show deleted ratings in stars

This commit is contained in:
Mouse Reeve
2021-05-23 08:48:00 -07:00
parent 94d6e07478
commit ca8067769c
2 changed files with 2 additions and 0 deletions

View File

@ -62,6 +62,7 @@ class Shelf(View):
user=user,
rating__isnull=False,
book__id=OuterRef("id"),
deleted=False,
).order_by("-published_date")
if not is_self: