X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/634abe44a671e272552f0016155211ae91be09de..a7c64b2ae44b54daac2d4bce4dc0c2d675e04504:/src/documents/views.py?ds=sidebyside diff --git a/src/documents/views.py b/src/documents/views.py index 225ad559..f4c85612 100644 --- a/src/documents/views.py +++ b/src/documents/views.py @@ -363,10 +363,10 @@ def book(request, slug): publishable = publish_error is None try: - doc = book.wldocument() + doc = book.wldocument(librarian2=True) except: doc = None - + return render(request, "documents/book_detail.html", { "book": book, "doc": doc,