mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-06 02:09:55 +02:00
Resolve "Implement a Oauth provider in Funkwhale"
This commit is contained in:
parent
1dc7304bd3
commit
4c13d47387
54 changed files with 2811 additions and 249 deletions
|
@ -1,7 +1,6 @@
|
|||
from django.db import IntegrityError
|
||||
|
||||
from rest_framework import mixins
|
||||
from rest_framework import permissions
|
||||
from rest_framework import response
|
||||
from rest_framework import status
|
||||
from rest_framework import viewsets
|
||||
|
@ -24,7 +23,7 @@ class UserFilterViewSet(
|
|||
.select_related("target_artist")
|
||||
)
|
||||
serializer_class = serializers.UserFilterSerializer
|
||||
permission_classes = [permissions.IsAuthenticated]
|
||||
required_scope = "filters"
|
||||
ordering_fields = ("creation_date",)
|
||||
|
||||
def create(self, request, *args, **kwargs):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue