code: def query_pager_by_kind(kind, current_page_num=1):
          '''
          Query pager
          '''
          return TabWiki.select().where(TabWiki.kind == kind).order_by(TabWiki.time_create.desc()).paginate(current_page_num, CMS_CFG['list_num']f query_pager_by_kind(kind, current_page_num=1):
          '''
          Query pager
          '''
          return TabWiki.select().where(TabWiki.kind == kind).order_by(TabWiki.time_create.desc()).paginate(current_page_num, CMS_CFG['list_num'])
docs: Query pager