示例#1
0
 def delete(self):
     db_session.delete(self)
     db_session.commit()
示例#2
0
 def delete(self):
     if (len(self.entries)) > 0:
         return False
     db_session.delete(self)
     db_session.commit()