def get_page_list(): return [row.wiki.split("/")[-1] for row in Candidate.select()]
def get_candidates(): return [ candidate.name for candidate in Candidate.select( Candidate.name).group_by(Candidate.name) ]