mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-23 01:51:08 +00:00
Fixes tests
This commit is contained in:
parent
0a4e755516
commit
f6ad069f74
1 changed files with 3 additions and 1 deletions
|
@ -266,7 +266,9 @@ class Editions(View):
|
||||||
"editions": editions.filter(**filters).all(),
|
"editions": editions.filter(**filters).all(),
|
||||||
"work": work,
|
"work": work,
|
||||||
"languages": languages,
|
"languages": languages,
|
||||||
"formats": set(e.physical_format.lower() for e in editions if e),
|
"formats": set(
|
||||||
|
e.physical_format.lower() for e in editions if e.physical_format
|
||||||
|
),
|
||||||
}
|
}
|
||||||
return TemplateResponse(request, "book/editions.html", data)
|
return TemplateResponse(request, "book/editions.html", data)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue