From: Yoan Le Clanche Date: Wed, 12 Jan 2022 16:10:45 +0000 (+0100) Subject: Remove approx_duration mock X-Git-Tag: 2.8.1-pro~129 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=900b61a5c4f6ce801bf5201a39e47a996f0857a5;p=teleforma.git Remove approx_duration mock --- diff --git a/teleforma/models/core.py b/teleforma/models/core.py index 89737498..63830c24 100755 --- a/teleforma/models/core.py +++ b/teleforma/models/core.py @@ -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']