diff options
author | Alban Gruin | 2019-08-29 12:52:38 +0200 |
---|---|---|
committer | Alban Gruin | 2019-08-30 13:56:33 +0200 |
commit | 797a8a7b57b91823ee4b306ca91256dad4e3f504 (patch) | |
tree | c68c6a20a0b83858efdc2ed09bbe42d11c7536a0 /models.py | |
parent | 6fbcee6ddfdfb7d2674d3296d7a20f59905db7f8 (diff) |
models: remplacement de RENCONTRE par rencontre dans le type d’un cours
Signed-off-by: Alban Gruin <alban at pa1ch dot fr>
Diffstat (limited to 'models.py')
-rw-r--r-- | models.py | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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() |