]> git.parisson.com Git - teleforma.git/commitdiff
fix department slug
authorGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Mon, 23 Jan 2023 10:01:02 +0000 (11:01 +0100)
committerGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Mon, 30 Jan 2023 17:19:20 +0000 (18:19 +0100)
teleforma/models/core.py

index fac3b48d5ce0e8302f35e2173cb80e71f820952a..fd8c865366ea9189c0511d54f0bac553c9144aec 100755 (executable)
@@ -361,7 +361,7 @@ class Conference(models.Model):
 
     @property
     def slug(self):
-        slug = '-'.join([self.course.department.slug,
+        slug = '-'.join([self.department.slug,
                          self.course.slug,
                          self.course_type.name.lower()])
         return slug