mirror of
https://gitlab.science.ru.nl/technicie/MarietjeDjango.git
synced 2025-12-09 18:52:23 +01:00
Minor fix in PlaylistSong.__str__, showing playlist_id instead of own id.
This commit is contained in:
@ -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):
|
||||
|
||||
Reference in New Issue
Block a user