ajout id orebut dans les niveaux de comp.
This commit is contained in:
parent
c362ccef0e
commit
72b8e04064
@ -271,7 +271,10 @@ class ApcAnneeParcours(db.Model, XMLModel):
|
|||||||
return {
|
return {
|
||||||
"ordre": self.ordre,
|
"ordre": self.ordre,
|
||||||
"competences": {
|
"competences": {
|
||||||
x.competence.titre: {"niveau": x.niveau}
|
x.competence.titre: {
|
||||||
|
"niveau": x.niveau,
|
||||||
|
"id_orebut": x.competence.id_orebut,
|
||||||
|
}
|
||||||
for x in self.niveaux_competences
|
for x in self.niveaux_competences
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user