Minor fix in PlaylistSong.__str__, showing playlist_id instead of own id.

This commit is contained in:
Jim Driessen
2017-01-21 20:42:34 +01:00
parent 7002083982
commit 0b3cdb2ade

View File

@ -54,7 +54,7 @@ class PlaylistSong(models.Model):
other_song.save()
def __str__(self):
return 'Playlist #' + str(self.id) + ': ' + str(self.song)
return 'Playlist #' + str(self.playlist_id) + ': ' + str(self.song)
class Queue(models.Model):