-
Notifications
You must be signed in to change notification settings - Fork 106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AttributeError: type object 'ContactsViewSet' has no attribute 'get_extra_actions' #70
Comments
same here |
@tolsac @riquedev I guess riquedev's issue is because he treated an
The ways that they are added to routers are quite different. Check https://www.django-rest-framework.org/api-guide/routers/#using-include-with-routers |
Just to clarify what @Karmenzind said changing:
to:
Should fix that issue. I ran into the same issue and fixed it for me. Also, it would be nice if there was more information on setting up ViewSets |
@Luid101 Thanks for the info. This worked for me |
Guys, I am not able to raise the server due to this error after I have inserted the necessary classes for the use of Bulk.
Here's a snippet of what I'm doing.
(app)/urls.py
bots_api/urls.py
serializers/contacts.py
views/contacts.py
I've been having this problem since yesterday, does anyone know where I might be going wrong?
The text was updated successfully, but these errors were encountered: