Fix #362
This commit is contained in:
parent
1e7cc06399
commit
7bc5a5ffd1
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user