Ghana's peaceful presidential election was a rare example of a functioning democracy in Africa and should be a model for the continent, African leaders and voters said on Sunday.Much attention in Africa and elsewhere was focused on the Ghanaian vote after a year of political crises, many of them violent, tarnished Africa's democratic credentials.