Don't store default edition in the dataase
This commit is contained in:
@ -39,7 +39,7 @@ class Book(View):
|
||||
return ActivitypubResponse(book.to_activity())
|
||||
|
||||
if isinstance(book, models.Work):
|
||||
book = book.get_default_edition()
|
||||
book = book.default_edition
|
||||
if not book or not book.parent_work:
|
||||
return HttpResponseNotFound()
|
||||
|
||||
|
Reference in New Issue
Block a user