mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-06 01:59:55 +02:00
Upgraded django to 2.1 and django-filters to 2.0
This commit is contained in:
parent
a2f8f335e4
commit
4a6df06360
11 changed files with 25 additions and 25 deletions
|
@ -20,7 +20,7 @@ class TrackFavoriteViewSet(
|
|||
viewsets.GenericViewSet,
|
||||
):
|
||||
|
||||
filter_class = filters.TrackFavoriteFilter
|
||||
filterset_class = filters.TrackFavoriteFilter
|
||||
serializer_class = serializers.UserTrackFavoriteSerializer
|
||||
queryset = models.TrackFavorite.objects.all().select_related("user")
|
||||
permission_classes = [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue