forked from ScoDoc/ScoDoc
partition_editor V1 beta
This commit is contained in:
parent
d87efd99b7
commit
02fee61aa5
@ -145,6 +145,7 @@ def set_etud_group(etudid: int, group_id: int):
|
|||||||
g.etuds.remove(etud)
|
g.etuds.remove(etud)
|
||||||
if not ok:
|
if not ok:
|
||||||
group.etuds.append(etud)
|
group.etuds.append(etud)
|
||||||
|
log(f"set_etud_group({etud}, {group})")
|
||||||
db.session.commit()
|
db.session.commit()
|
||||||
return jsonify({"group_id": group_id, "etudid": etudid})
|
return jsonify({"group_id": group_id, "etudid": etudid})
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user