diff options
Diffstat (limited to 'models.py')
-rw-r--r-- | models.py | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -163,6 +163,7 @@ class Course(models.Model): def save(self, *args, **kwargs): if self.type is not None: self.type = self.type.replace("COURS", "cours") + self.type = self.type.replace("REUNION", "réunion") if self.name is not None: self.name = self.name.split("(")[0].strip() |