added tests for the comicbook model

fixed bug related to last page link
This commit is contained in:
ajurna committed 2015-06-25 12:36:55 +01:00
1 parent 7f234ce27c
commit 64a590f9ee
10 files changed
+236 -19

No files matched your search

+1 -1
View File
@@ -62,7 +62,7 @@ def read_comic(request, comic_path, page):
book.save()
context = RequestContext(request, {
'book': book,
'orig_file_name': book.pages()[page].name,
'orig_file_name': book.page_name(page),
'nav': book.nav(comic_path, page),
'breadcrumbs': breadcrumbs,
})