Use the item view for the document pages.

Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
Roberto Rosario
2017-07-14 14:09:08 -04:00
parent 3f348c6260
commit af3fed2a18

View File

@@ -46,6 +46,7 @@ class DocumentPageListView(SingleObjectListView):
def get_extra_context(self):
return {
'list_as_items': True,
'object': self.get_document(),
'title': _('Pages for document: %s') % self.get_document(),
}