From ab87a98eda7ada61bacf001df035218ccb4975e0 Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Tue, 15 Mar 2022 21:49:53 +0100 Subject: [PATCH] Ajout lieu_naissance, dept_naissance, nationalite, boursier aux infos templates bul. --- app/models/etudiants.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/models/etudiants.py b/app/models/etudiants.py index 060debc3b..1cdb7166a 100644 --- a/app/models/etudiants.py +++ b/app/models/etudiants.py @@ -161,6 +161,10 @@ class Identite(db.Model): "nom": self.nom_disp(), "prenom": self.prenom, "nomprenom": self.nomprenom, + "lieu_naissance": self.lieu_naissance, + "dept_naissance": self.dept_naissance, + "nationalite": self.nationalite, + "boursier": self.boursier, } if include_urls: d["fiche_url"] = url_for(