Skip to content

Conversation

@kaldras
Copy link
Contributor

@kaldras kaldras commented Sep 22, 2015

Extracting the included data for many to one relations failed because the all() function was called on an instance instead of a manager object. The all() call should only happen for ListSerializer.

jerel added a commit that referenced this pull request Sep 22, 2015
Fix .all() call on instance objects instead of only manager objects
@jerel jerel merged commit 578e87d into django-json-api:develop Sep 22, 2015
@kaldras kaldras deleted the bugfix/extract-included branch September 23, 2015 06:22
@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