mirror of
https://gitlab.science.ru.nl/technicie/MarietjeDjango.git
synced 2025-12-09 22:12:22 +01:00
Fix user not showing in list of songs.
This commit is contained in:
@ -90,7 +90,7 @@ class Queue(models.Model):
|
||||
.filter(Q(playlist=self.playlist_id) | Q(playlist_id=self.random_playlist_id),
|
||||
Q(state=0) | Q(state=1))\
|
||||
.order_by('-state', 'playlist_id', 'order')\
|
||||
.prefetch_related('song', 'user')
|
||||
.select_related('song', 'user')
|
||||
return self.songs
|
||||
|
||||
def current_song(self):
|
||||
|
||||
Reference in New Issue
Block a user