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