]> git.parisson.com Git - teleforma.git/commitdiff
Cleanup
authorGael Le Mignot <gael@pilotsystems.net>
Fri, 4 Jun 2021 15:04:22 +0000 (17:04 +0200)
committerGael Le Mignot <gael@pilotsystems.net>
Fri, 4 Jun 2021 15:04:22 +0000 (17:04 +0200)
teleforma/models/core.py

index a2730c8d2597597ac66e70645a1fe23883982eba..fd560267c6712e3428191a5d40efc5ba479381d9 100755 (executable)
@@ -417,13 +417,6 @@ class Conference(models.Model):
                     str(self.date_begin)]
         return ' - '.join(list)
 
-    @property
-    def slug(self):
-        slug = '-'.join([self.course.department.slug,
-                         self.course.slug,
-                         self.course_type.name.lower()])
-        return slug
-
     def save(self, *args, **kwargs):
         if not self.public_id:
             self.public_id = get_random_hash()