Skip to content

Fix crash with serializers that have fields which do not exist on the… #103

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 2 commits into from
Sep 22, 2015
Merged

Conversation

leifurhauks
Copy link

… model.

Change utils.extract_relationships to skip fields defined on the serializer
that don't correspond to a field on the model.

Leifur Halldor Asgeirsson added 2 commits September 22, 2015 13:25
… model.

Change utils.extract_relationships to skip fields defined on the serializer
that don't correspond to a field on the model.
in case this is a custom field that doesn't exist on the model
jerel added a commit that referenced this pull request Sep 22, 2015
Fix crash with serializers that have fields which do not exist on the…
@jerel jerel merged commit fc69e1e into django-json-api:develop Sep 22, 2015
@jsenecal jsenecal modified the milestone: 2.0 release Sep 30, 2015
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.

3 participants