Skip to content

Commit

Permalink
renamed filter_class to filterset_class, pinned django-filter package (
Browse files Browse the repository at this point in the history
  • Loading branch information
edwoodward authored Oct 26, 2023
1 parent 80e330e commit 540cd8d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion errata/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class ErrataView(ModelViewSet):
serializer_class = ErrataSerializer
http_method_names = ['get', 'post', 'head']
filter_backends = (DjangoFilterBackend, OrderingFilter)
filter_class = ErrataFilter
filterset_class = ErrataFilter
ordering_fields = ('id', 'resolution_date', 'created', 'modified', )


Expand Down
1 change: 1 addition & 0 deletions requirements/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ django==4.1.7
django-admin-rangefilter==0.8.4
django-crontab==0.7.1
django-extensions==3.2.1
django-filter==22.1
django-import-export==2.8.0
django-libsass==0.9
django-rest-auth==0.9.5
Expand Down

0 comments on commit 540cd8d

Please sign in to comment.