def get(self, page): files_page, files_del = file_page_lib(self, page) kw = { 'files': files_page['split_content'], 'files_page': files_page, 'files_del': files_del, } self.render('files/files_page_list.html', **kw)
def get(self, page): files, files_page, files_del = files_lib.file_page_lib(self, page) kw = {'files': files, 'files_page': files_page, 'files_del': files_del} self.render('files/files_page_list.html', **kw)