File "/home/gaurav/dev/proj/venv/lib/python2.7/site-packages/rest_framework/generics.py", line 151, in filter_queryset
queryset = backend().filter_queryset(self.request, queryset, self)
File "/home/gaurav/dev/proj/venv/lib/python2.7/site-packages/django_elasticsearch/contrib/restframework/restframework3.py", line 25, in filter_queryset
if view.action == 'list':
AttributeError: 'AccountView' object has no attribute 'action'
AccountView is a ListCreateAPIView with filter_backends = (ElasticsearchFilterBackend, )
Traceback:
AccountView is a ListCreateAPIView with
filter_backends = (ElasticsearchFilterBackend, )