Upgraded django to 2.1 and django-filters to 2.0

This commit is contained in:
Eliot Berriot 2019-01-11 12:03:06 +01:00
parent a2f8f335e4
commit 4a6df06360
No known key found for this signature in database
GPG key ID: DD6965E2476E5C27
11 changed files with 25 additions and 25 deletions

View file

@ -33,7 +33,7 @@ class PlaylistViewSet(
IsAuthenticatedOrReadOnly,
]
owner_checks = ["write"]
filter_class = filters.PlaylistFilter
filterset_class = filters.PlaylistFilter
ordering_fields = ("id", "name", "creation_date", "modification_date")
@detail_route(methods=["get"])