добавил пермишн на избранные треки
This commit is contained in:
parent
c90eb26dfe
commit
57bd3901ff
|
|
@ -119,7 +119,7 @@ class FavoriteSongViewSet(GenericViewSet):
|
|||
azura = AzuraCast()
|
||||
queryset = FavoriteSong.objects.all()
|
||||
serializer_class = FavoriteSongSerializer
|
||||
#permission_classes = (IsAuthenticated, )
|
||||
permission_classes = (IsAuthenticated, )
|
||||
lookup_field = 'azura_id'
|
||||
|
||||
def list(self, request):
|
||||
|
|
|
|||
Loading…
Reference in New Issue