Fix: ajout enseignant module (oubli commit)

This commit is contained in:
Emmanuel Viennet 2024-02-05 09:07:11 +01:00
parent bacd734ab5
commit e6a544906e

View File

@ -1069,6 +1069,8 @@ def edit_enseignants_form(moduleimpl_id):
) )
else: else:
modimpl.enseignants.append(ens) modimpl.enseignants.append(ens)
db.session.add(modimpl)
db.session.commit()
return flask.redirect( return flask.redirect(
url_for( url_for(
"notes.edit_enseignants_form", "notes.edit_enseignants_form",