Fixes syntax problem on http raises

This commit is contained in:
Mouse Reeve
2021-09-27 15:57:22 -07:00
parent 84443c7f81
commit e6ae500569
8 changed files with 10 additions and 11 deletions

View File

@ -50,7 +50,7 @@ class Book(View):
)
if not book or not book.parent_work:
raise Http404
raise Http404()
# all reviews for all editions of the book
reviews = privacy_filter(