mirror of
https://github.com/daniviga/django-ram.git
synced 2025-08-04 13:17:50 +02:00
Minor fixes and improvements
This commit is contained in:
@@ -549,14 +549,16 @@ class GetBookCatalog(View):
|
||||
except ObjectDoesNotExist:
|
||||
raise Http404
|
||||
|
||||
book_properties = book.property.get_public(request.user)
|
||||
properties = book.property.get_public(request.user)
|
||||
documents = book.document.get_public(request.user)
|
||||
return render(
|
||||
request,
|
||||
"bookshelf/book.html",
|
||||
{
|
||||
"title": book,
|
||||
"book_properties": book_properties,
|
||||
"book": book,
|
||||
"documents": documents,
|
||||
"properties": properties,
|
||||
"type": selector
|
||||
},
|
||||
)
|
||||
|
Reference in New Issue
Block a user