Esempio n. 1
0
 def remove(self):
     self._log('Removed')
     db_session.delete(self)
     db_session.commit()
Esempio n. 2
0
 def save(self):
     db_session.add(self)
     db_session.commit()