From 797a8a7b57b91823ee4b306ca91256dad4e3f504 Mon Sep 17 00:00:00 2001 From: Alban Gruin Date: Thu, 29 Aug 2019 12:52:38 +0200 Subject: models: remplacement de RENCONTRE par rencontre dans le type d’un cours Signed-off-by: Alban Gruin --- models.py | 1 + 1 file changed, 1 insertion(+) diff --git a/models.py b/models.py index 7fd5b3e..448b996 100644 --- a/models.py +++ b/models.py @@ -274,6 +274,7 @@ class Course(models.Model): if self.type is not None: self.type = self.type.replace("COURS", "cours") self.type = self.type.replace("REUNION", "réunion") + self.type = self.type.replace("RENCONTRE", "rencontre") if self.name is not None: self.name = self.name.split("(")[0].strip() -- cgit v1.2.1