コード例 #1
0
 def _process(self):
     direction = request.form['direction']
     with track_time_changes():
         swap_timetable_entry(self.entry, direction, session_=self.session)
     return jsonify_data(flash=False,
                         update=serialize_entry_update(
                             self.entry, session_=self.session))
コード例 #2
0
ファイル: legacy.py プロジェクト: florv/indico
 def _process(self):
     direction = request.form['direction']
     with track_time_changes():
         swap_timetable_entry(self.entry, direction, session_=self.session)
     return jsonify_data(flash=False, update=serialize_entry_update(self.entry, session_=self.session))