API formsemestre: changement format annee_scolaire
This commit is contained in:
parent
251949c220
commit
69b09fc3c7
@ -181,7 +181,7 @@ class FormSemestre(db.Model):
|
||||
"""
|
||||
d = dict(self.__dict__)
|
||||
d.pop("_sa_instance_state", None)
|
||||
d["annee_scolaire"] = self.annee_scolaire_str()
|
||||
d["annee_scolaire"] = self.annee_scolaire()
|
||||
if self.date_debut:
|
||||
d["date_debut"] = self.date_debut.strftime("%d/%m/%Y")
|
||||
d["date_debut_iso"] = self.date_debut.isoformat()
|
||||
|
Loading…
Reference in New Issue
Block a user