models/marking_model.py
def update_start_date(cls, id, start_date):
        """Updates the start date for an entry"""
        obj = cls.query.filter_by(id=id).first()
        obj.start_date = start_date
        obj.rec_to_start = MarkingModel.lt_check(obj.rec_date, start_date)
        db.session.commit()
        return None
Updates the start date for an entry
Updates the start date for an entry
Updates the start date for an entry
def update_start_date(cls, id, start_date):
        obj = cls.query.filter_by(id=id).first()
        obj.start_date = start_date
        obj.rec_to_start = MarkingModel.lt_check(obj.rec_date, start_date)
        db.session.commit()
        return None
def update_start_date ( cls , id , start_date ) : obj = cls . query . filter_by ( id = id ) . first ( ) obj . start_date = start_date obj . rec_to_start = MarkingModel . lt_check ( obj . rec_date , start_date ) db . session . commit ( ) return None
Updates the start date for an entry
Updates the start date for an entry
"""Updates the start date for an entry"""
cls
id
start_date