Skip to content
Snippets Groups Projects
Verified Commit b3366088 authored by Ernesto Rico Schmidt's avatar Ernesto Rico Schmidt
Browse files

feat: tweak string representation of a PlaylistEntry

parent 072e66f7
No related branches found
No related tags found
1 merge request!59Add playlists
......@@ -612,7 +612,7 @@ class PlaylistEntry(models.Model):
uri = models.CharField(blank=True, max_length=1024)
def __str__(self):
return f"{self.uri} - {self.duration:.2f}" if self.duration else self.uri
return f"{self.uri} - {self.duration}" if self.duration else self.uri
class ImageAspectRadioField(models.CharField):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment