aboutsummaryrefslogtreecommitdiff
path: root/models.py
diff options
context:
space:
mode:
authorAlban Gruin2017-09-05 10:50:12 +0200
committerAlban Gruin2017-09-05 10:50:12 +0200
commitf0158ff8d00119307bc8f8ec59de0b6a6f5be3c6 (patch)
tree92d8c8fdcc74bf7204ab032038bc13fcab0ce8dc /models.py
parentb4ed0a15e5bc11c7c41d4d8308ff900a34486697 (diff)
Remplacement du type « REUNION » par « réunion »
Diffstat (limited to 'models.py')
-rw-r--r--models.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/models.py b/models.py
index 1aeb8e2..0b0ee63 100644
--- a/models.py
+++ b/models.py
@@ -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()