Don't store default edition in the dataase
This commit is contained in:
parent
ccf10e8012
commit
6551c59c45
14 changed files with 56 additions and 62 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue