forked from ScoDoc/ScoDoc
Fix: ajout enseignant module (oubli commit)
This commit is contained in:
parent
bacd734ab5
commit
e6a544906e
@ -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",
|
||||||
|
Loading…
Reference in New Issue
Block a user