Esempio n. 1
0
 def new_team_form(self, request, response, pathmatch):
     persons = Person.find()
     response.send_template("ajax_new_team.mustache", locals())
Esempio n. 2
0
 def persons(self, request, response, pathmatch):
     persons = Person.find()
     response.send_template("ajax_persons.mustache", {'persons': persons})
Esempio n. 3
0
 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()})