Don't put the raw document queryset in the template context. It is not needed anymore.
Signed-off-by: Michael Price <loneviking72@gmail.com>
This commit is contained in:
committed by
Roberto Rosario
parent
4af9dfa36d
commit
9043291b8d
@@ -105,7 +105,6 @@ class CabinetDetailView(DocumentListView):
|
|||||||
'jstree_data': '\n'.join(
|
'jstree_data': '\n'.join(
|
||||||
jstree_data(node=cabinet.get_root(), selected_node=cabinet)
|
jstree_data(node=cabinet.get_root(), selected_node=cabinet)
|
||||||
),
|
),
|
||||||
'document_list': self.get_document_queryset(),
|
|
||||||
'hide_links': True,
|
'hide_links': True,
|
||||||
'list_as_items': True,
|
'list_as_items': True,
|
||||||
'object': cabinet,
|
'object': cabinet,
|
||||||
|
|||||||
Reference in New Issue
Block a user