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

Added q filter on artists

parent 9f975490
No related branches found
No related tags found
No related merge requests found
......@@ -20,6 +20,9 @@ class ListenableMixin(filters.FilterSet):
class ArtistFilter(ListenableMixin):
q = fields.SearchFilter(search_fields=[
'name',
])
class Meta:
model = models.Artist
......
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