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
|
|
@ -4,7 +4,7 @@ from funkwhale_api.music import models as music_models
|
|||
|
||||
|
||||
class AlbumList2FilterSet(filters.FilterSet):
|
||||
type = filters.CharFilter(name="_", method="filter_type")
|
||||
type = filters.CharFilter(field_name="_", method="filter_type")
|
||||
|
||||
class Meta:
|
||||
model = music_models.Album
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue