Skip to content
Snippets Groups Projects
Commit 7e85f7b1 authored by Emmanuel Viennet's avatar Emmanuel Viennet
Browse files

API: module-edit, ue-edit

parent 5ec598e6
No related branches found
No related tags found
No related merge requests found
......@@ -226,7 +226,9 @@ class Module(models.ScoDocModel):
else:
d["parcours"] = [p.to_dict() for p in self.parcours]
d["ue_coefs"] = [
c.to_dict(convert_objects=convert_objects) for c in self.ue_coefs
c.to_dict(convert_objects=False)
for c in self.ue_coefs
# note: don't convert_objects: we do wan't the details of the UEs here
]
d["app_critiques"] = {x.code: x.to_dict() for x in self.app_critiques}
if not with_matiere:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment