Skip to content

[FEATURE]: support using get_serializer_class on view #213

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

Merged
merged 1 commit into from
Mar 15, 2016

Conversation

snewcomer
Copy link
Contributor

Maybe a bit too simplistic. Wish I had an additional test to add, but then I might be overlapping django rest's tests for the get_serializer_class method. Tests fail if view uses serializer_class rather than what is in this commit however.

This should now allow users to specify multiple actions and direct the query to different Serializers depending on the request action.

jerel added a commit that referenced this pull request Mar 15, 2016
Support using get_serializer_class on view
@jerel jerel merged commit 8f105c5 into django-json-api:develop Mar 15, 2016
@jerel
Copy link
Member

jerel commented Mar 15, 2016

@snewcomer thanks!

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

Successfully merging this pull request may close these issues.

2 participants