fnp
/
wolnelektury.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b2b4f8f
)
cleanup comments
author
Jan Szejko
<j-sz@o2.pl>
Wed, 17 Feb 2016 15:27:05 +0000
(16:27 +0100)
committer
Jan Szejko
<j-sz@o2.pl>
Wed, 17 Feb 2016 15:27:05 +0000
(16:27 +0100)
src/catalogue/views.py
patch
|
blob
|
history
diff --git
a/src/catalogue/views.py
b/src/catalogue/views.py
index
fc73c71
..
3cd6bc1
100644
(file)
--- a/
src/catalogue/views.py
+++ b/
src/catalogue/views.py
@@
-308,7
+308,7
@@
def get_audiobooks(book):
return audiobooks, projects, have_oggs
return audiobooks, projects, have_oggs
-# używane
tylko do audiobook_tree, które jest używane tylko w snippets/audiobook_list.html, które nie jest używan
e
+# używane
w publicznym interfejsi
e
def player(request, slug):
book = get_object_or_404(Book, slug=slug)
if not book.has_media('mp3'):
def player(request, slug):
book = get_object_or_404(Book, slug=slug)
if not book.has_media('mp3'):
@@
-316,8
+316,6
@@
def player(request, slug):
audiobooks, projects, have_oggs = get_audiobooks(book)
audiobooks, projects, have_oggs = get_audiobooks(book)
- # extra_info = book.extra_info
-
return render_to_response('catalogue/player.html', {
'book': book,
'audiobook': '',
return render_to_response('catalogue/player.html', {
'book': book,
'audiobook': '',