示例#1
0
 def post(self):
     key = self.request.get('key')
     episodes = self.request.get('episodes')
     datamodel.edit_serie(key, episodes)
     self.redirect('/mySeries')
示例#2
0
 def ajaxEditEpisodes(self, *args):
     keys = args[0]
     episodes = args[1]
     if users.get_current_user():
         for key in keys:
             datamodel.edit_serie(key, episodes)