This commit is contained in:
Emmanuel Viennet 2022-08-25 18:48:48 +02:00
parent 1e7cc06399
commit 7bc5a5ffd1

View File

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