Skip to content
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

Endpoints not showing from serializer_class but the models #51

Closed
burdzand opened this issue Jan 19, 2018 · 2 comments
Closed

Endpoints not showing from serializer_class but the models #51

burdzand opened this issue Jan 19, 2018 · 2 comments
Labels
question Open question

Comments

@burdzand
Copy link

How I set to get response and request from serializer_class not model?
All my endpoints is showing from the models.

@axnsan12
Copy link
Owner

Hello @andersondborges,

Could you give more details about your problem? All endpoints use get_serializer method of views when inspecting a view's serializer, which is in line with Django Rest Framework's default behavior. If that does not work for you please provide concrete examples of what you are trying to achieve.

@axnsan12 axnsan12 added the question Open question label Jan 19, 2018
@axnsan12
Copy link
Owner

In absence of a code example I'm going to close this. I will reopen if you come back with an example to reproduce the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Open question
Projects
None yet
Development

No branches or pull requests

2 participants