code: def query_list_pager(con, idx, kind='2'):
          '''
          Get records of certain pager.
          '''
          all_list = MPost.query_under_condition(con, kind=kind)
          return all_list[(idx - 1) * CMS_CFG['list_num']: idx * CMS_CFG['list_num']f query_list_pager(con, idx, kind='2'):
          '''
          Get records of certain pager.
          '''
          all_list = MPost.query_under_condition(con, kind=kind)
          return all_list[(idx - 1) * CMS_CFG['list_num']: idx * CMS_CFG['list_num']]
docs: Get records of certain pager.