예제 #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))