mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-06 04:19:56 +02:00
CI builds / pipeline now run tests and build static assets
This commit is contained in:
parent
76f98b74dd
commit
072605dea6
10 changed files with 60 additions and 39 deletions
|
@ -50,7 +50,7 @@ class SessionRadio(SimpleRadio):
|
|||
|
||||
def filter_from_session(self, queryset):
|
||||
already_played = self.session.session_tracks.all().values_list('track', flat=True)
|
||||
queryset = queryset.exclude(pk__in=already_played)
|
||||
queryset = queryset.exclude(pk__in=list(already_played))
|
||||
return queryset
|
||||
|
||||
def pick(self, **kwargs):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue