This commit is contained in:
Emmanuel Viennet 2022-05-21 07:27:00 +02:00
parent 91544aa254
commit f7e908c92d

View File

@ -60,7 +60,7 @@ class Identite(db.Model):
admission = db.relationship("Admission", backref="identite", lazy="dynamic")
def __repr__(self):
return f"<Etud {self.id} {self.nom} {self.prenom}>"
return f"<Etud {self.id} {self.nom!r} {self.prenom!r}>"
@classmethod
def from_request(cls, etudid=None, code_nip=None):