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