You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 29, 2020. It is now read-only.
import django_filters.rest_framework
class searchView(viewsets.ModelViewSet):
filter_backends = (django_filters.rest_framework.DjangoFilterBackend,filters.OrderingFilter,)
Alternatively, you could do
from django_filters.rest_framework import DjangoFilterBackend
class searchView(viewsets.ModelViewSet):
filter_backends = (DjangoFilterBackend, filters.OrderingFilter,)
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
djangorestframeworkのバージョンが上がったので出るようになった模様
今のproduction djangorestframework==3.5.4
エラー環境 djangorestframework==3.7.7
awesto/django-shop#664
このへん?
以下トレース
The text was updated successfully, but these errors were encountered: