def get(self): votes = models.getVotes(100) data = {'votes': votes} self.show('admin_votes', data)
def get(self): votes = models.getVotes(100) data = {'votes':votes} self.show('admin_votes',data)
def get(self): polls = models.getPolls() votes = models.getVotes() data = {'polls': polls, 'votes': votes} self.show('admin', data)
def get(self): polls = models.getPolls() votes = models.getVotes() data = {'polls':polls,'votes':votes} self.show('admin',data)