mirror of
https://gitlab.science.ru.nl/technicie/MarietjeDjango.git
synced 2025-12-10 11:32:22 +01:00
Remove debugging print()s.
This commit is contained in:
@ -91,12 +91,9 @@ class Queue(models.Model):
|
|||||||
Q(state=0) | Q(state=1))\
|
Q(state=0) | Q(state=1))\
|
||||||
.order_by('-state', 'playlist_id', 'order')\
|
.order_by('-state', 'playlist_id', 'order')\
|
||||||
.prefetch_related('song', 'user')
|
.prefetch_related('song', 'user')
|
||||||
|
|
||||||
print(self.songs)
|
|
||||||
return self.songs
|
return self.songs
|
||||||
|
|
||||||
def current_song(self):
|
def current_song(self):
|
||||||
print('Hoi doei')
|
|
||||||
songs = self.get_songs()
|
songs = self.get_songs()
|
||||||
if len(songs) < 1:
|
if len(songs) < 1:
|
||||||
return None
|
return None
|
||||||
|
|||||||
Reference in New Issue
Block a user