Use a function instead of a property
This commit is contained in:
1 parent
37b15ed625
commit
35a4d2fd39
1 file changed
-1
@@ -1032,7 +1032,6 @@ class Media(models.Model):
|
||||
field = self.get_metadata_field('title')
|
||||
return self.loaded_metadata.get(field, '').strip()
|
||||
|
||||
@property
|
||||
def metadata_published(self, timestamp=None):
|
||||
published_dt = None
|
||||
if timestamp is None:
|
||||
|
||||
Reference in new issue
Block a user