Ejemplo n.º 1
0
def delete_technology_group(technology, group_id):
    tech = get_technology_by_group(technology, group_id)

    db_session.delete(tech)
    db_session.commit()

    return tech
Ejemplo n.º 2
0
def delete_technology_group(technology, group_id):
    tech = get_technology_by_group(technology, group_id)

    db_session.delete(tech)
    db_session.commit()

    return tech
Ejemplo n.º 3
0
def delete_groups(group_name):
    group = Groups.query.filter_by(group=group_name).first()
    db_session.delete(group)
    db_session.commit()
    return group
Ejemplo n.º 4
0
def delete_groups(group_name):
    group = Groups.query.filter_by(group=group_name).first()
    db_session.delete(group)
    db_session.commit()
    return group