(self)
Deletes the current model from the DB
Deletes the current model from the DB
Deletes the current model from the DB
def delete(self):
        """ Deletes the current model from the DB """
        db.session.delete(self)
        db.session.commit()
def delete ( self ) : db . session . delete ( self ) db . session . commit ( )