Skip to content
Snippets Groups Projects
Verified Commit f917c5d0 authored by Eliot Berriot's avatar Eliot Berriot
Browse files

Playlist filterset

parent 08b28a7d
No related branches found
No related tags found
No related merge requests found
from django_filters import rest_framework as filters
from . import models
class PlaylistFilter(filters.FilterSet):
class Meta:
model = models.Playlist
fields = {
'user': ['exact'],
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment