<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

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']]