def query_random(num=6, kind='1'):
        '''
        Query wikis randomly.
        '''
        return TabWiki.select().where(
            TabWiki.kind == kind
        ).order_by(
            peewee.fn.Random()
        ).limit(num)