Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Maxence Bothorel
funkwhale
Commits
f917c5d0
Verified
Commit
f917c5d0
authored
Mar 19, 2018
by
Eliot Berriot
Browse files
Playlist filterset
parent
08b28a7d
Changes
1
Hide whitespace changes
Inline
Side-by-side
api/funkwhale_api/playlists/filters.py
0 → 100644
View file @
f917c5d0
from
django_filters
import
rest_framework
as
filters
from
.
import
models
class
PlaylistFilter
(
filters
.
FilterSet
):
class
Meta
:
model
=
models
.
Playlist
fields
=
{
'user'
:
[
'exact'
],
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment