Re: AttributeError: type object 'CustomerListAPIViewSet' has no attribute 'get_extra_actions'

2020-05-12 Thread Asaduzzaman Sohel
rk/routers.py", >> >> line 237, in get_urls >> routes = self.get_routes(viewset) >> File >> "/home/asad/PycharmProjects/microshop/venv/lib/python3.8/site-packages/rest_framework/routers.py", >> >> line 153, in get_routes >>

Re: AttributeError: type object 'CustomerListAPIViewSet' has no attribute 'get_extra_actions'

2020-05-10 Thread Jason
kages/rest_framework/routers.py", > > line 153, in get_routes > extra_actions = viewset.get_extra_actions() > AttributeError: type object 'CustomerListAPIViewSet' has no attribute > 'get_extra_actions' > > this is my code > > class CustomerListAPIViewSet(gener

AttributeError: type object 'CustomerListAPIViewSet' has no attribute 'get_extra_actions'

2020-05-10 Thread Asaduzzaman Sohel
/python3.8/site-packages/rest_framework/routers.py", line 153, in get_routes extra_actions = viewset.get_extra_actions() AttributeError: type object 'CustomerListAPIViewSet' has no attribute 'get_extra_actions' this is my code class CustomerListAPIViewSet(generics.ListAP