Skip to content

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