Don't store default edition in the dataase
This commit is contained in:
@ -27,7 +27,7 @@ class Author(View):
|
||||
).distinct()
|
||||
data = {
|
||||
"author": author,
|
||||
"books": [b.get_default_edition() for b in books],
|
||||
"books": [b.default_edition for b in books],
|
||||
}
|
||||
return TemplateResponse(request, "author.html", data)
|
||||
|
||||
|
Reference in New Issue
Block a user