fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Overdue fix.
[wolnelektury.git]
/
src
/
catalogue
/
views.py
diff --git
a/src/catalogue/views.py
b/src/catalogue/views.py
index
9da3ebb
..
fe4b2bf
100644
(file)
--- a/
src/catalogue/views.py
+++ b/
src/catalogue/views.py
@@
-294,7
+294,7
@@
def book_detail(request, slug):
return render(
request,
return render(
request,
- 'catalogue/202
1
/book_detail.html' if new_layout.value else 'catalogue/book_detail.html',
+ 'catalogue/202
2
/book_detail.html' if new_layout.value else 'catalogue/book_detail.html',
{
'book': book,
'book_children': book.children.all().order_by('parent_number', 'sort_key'),
{
'book': book,
'book_children': book.children.all().order_by('parent_number', 'sort_key'),
@@
-312,7
+312,7
@@
def player(request, slug):
if not book.has_media('mp3'):
raise Http404
if not book.has_media('mp3'):
raise Http404
- audiobooks, projects = book.get_audiobooks()
+ audiobooks, projects
, total_duration
= book.get_audiobooks()
return render(
request,
return render(
request,