This commit is contained in:
Emmanuel Viennet 2022-08-25 18:48:48 +02:00
parent 1e7cc06399
commit 7bc5a5ffd1
1 changed files with 12 additions and 10 deletions

View File

@ -693,6 +693,8 @@ sco_publish(
@scodoc7func
def doAddAnnotation(etudid, comment):
"ajoute annotation sur etudiant"
etud = Identite.query.get_or_404(etudid) # check existence
if comment:
cnx = ndb.GetDBConnexion()
sco_etud.etud_annotations_create(
cnx,