def new_team_form(self, request, response, pathmatch): persons = Person.find() response.send_template("ajax_new_team.mustache", locals())
def persons(self, request, response, pathmatch): persons = Person.find() response.send_template("ajax_persons.mustache", {'persons': persons})
def teamdata(self, request, response, pathmatch): team = Team(id=pathmatch.group('id')) response.send_template("ajax_teamdata.mustache", {'team': [team], 'persons': team.members(), 'allpersons': Person.find()})