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:
Michael Price
2018-03-01 23:54:03 -04:00
committed by Roberto Rosario
parent 4af9dfa36d
commit 9043291b8d

View File

@@ -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,