From 02fee61aa5751ec94fdb3865dd5749554df54cf6 Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Sat, 23 Jul 2022 15:14:39 +0200 Subject: [PATCH] partition_editor V1 beta --- app/api/partitions.py | 1 + 1 file changed, 1 insertion(+) diff --git a/app/api/partitions.py b/app/api/partitions.py index 822fb764..8305c754 100644 --- a/app/api/partitions.py +++ b/app/api/partitions.py @@ -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})