1
0
forked from ScoDoc/ScoDoc

partition_editor V1 beta

This commit is contained in:
Emmanuel Viennet 2022-07-23 15:14:39 +02:00
parent d87efd99b7
commit 02fee61aa5

View File

@ -145,6 +145,7 @@ def set_etud_group(etudid: int, group_id: int):
g.etuds.remove(etud)
if not ok:
group.etuds.append(etud)
log(f"set_etud_group({etud}, {group})")
db.session.commit()
return jsonify({"group_id": group_id, "etudid": etudid})