]> git.parisson.com Git - teleforma.git/commitdiff
Remove approx_duration mock
authorYoan Le Clanche <yoanl@pilotsystems.net>
Wed, 12 Jan 2022 16:10:45 +0000 (17:10 +0100)
committerYoan Le Clanche <yoanl@pilotsystems.net>
Wed, 12 Jan 2022 16:10:45 +0000 (17:10 +0100)
teleforma/models/core.py

index 897374988a436526300457b1eb430ba2e825a8f0..63830c2440a8b7b8837493ae73cff54f2faa0159 100755 (executable)
@@ -624,12 +624,6 @@ class Media(MediaBase):
             url = sorl_default.backend.get_thumbnail(self.poster_file, geometry).url
         return url
 
-    # TODO : return appropriate value
-    # probably need to store it in a field
-    @property
-    def approx_duration(self):
-        return Duration(seconds=100)
-
     class Meta(MetaCore):
         db_table = app_label + '_' + 'media'
         ordering = ['rank']