mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-05 21:01:54 +02:00
Report UI (end-user)
This commit is contained in:
parent
1a8edf27b3
commit
33d1f879cf
24 changed files with 519 additions and 32 deletions
|
@ -23,7 +23,7 @@ class PlaylistViewSet(
|
|||
serializer_class = serializers.PlaylistSerializer
|
||||
queryset = (
|
||||
models.Playlist.objects.all()
|
||||
.select_related("user")
|
||||
.select_related("user__actor")
|
||||
.annotate(tracks_count=Count("playlist_tracks"))
|
||||
.with_covers()
|
||||
.with_duration()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue