mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-04 01:39:18 +02:00
Serialize user with requests
This commit is contained in:
parent
64290465e7
commit
999198b1c5
3 changed files with 10 additions and 1 deletions
|
@ -17,7 +17,7 @@ class ImportRequestViewSet(
|
|||
viewsets.GenericViewSet):
|
||||
|
||||
serializer_class = serializers.ImportRequestSerializer
|
||||
queryset = models.ImportRequest.objects.all()
|
||||
queryset = models.ImportRequest.objects.all().select_related()
|
||||
search_fields = ['artist_name', 'album_name', 'comment']
|
||||
|
||||
def perform_create(self, serializer):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue