fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix variable name
[wolnelektury.git]
/
apps
/
catalogue
/
views.py
diff --git
a/apps/catalogue/views.py
b/apps/catalogue/views.py
index
0722f39
..
235a17d
100644
(file)
--- a/
apps/catalogue/views.py
+++ b/
apps/catalogue/views.py
@@
-789,7
+789,7
@@
def download_zip(request, format, book=None):
def download_custom_pdf(request, book_fileid):
def download_custom_pdf(request, book_fileid):
- kwargs = models.Book.split_
urlid(book
)
+ kwargs = models.Book.split_
fileid(book_fileid
)
if kwargs is None:
raise Http404
book = get_object_or_404(models.Book, **kwargs)
if kwargs is None:
raise Http404
book = get_object_or_404(models.Book, **kwargs)