Skip to content

Conversation

@lovelydinosaur
Copy link
Contributor

Closes #2283.

@lovelydinosaur lovelydinosaur added this to the 3.0.3 Release milestone Dec 18, 2014
@jpadilla
Copy link
Contributor

Beat me to it. Applying this fixes to https://github.com/jpadilla/django-rest-framework-yaml

@lovelydinosaur
Copy link
Contributor Author

Great. Note that ReturnDict and ReturnList are private API, so we might need to be a bit wary if eg. their import location ever changes.

lovelydinosaur added a commit that referenced this pull request Dec 18, 2014
YAML encoder fix for 3.0 serializers.
@lovelydinosaur lovelydinosaur merged commit b8bdf81 into master Dec 18, 2014
@lovelydinosaur lovelydinosaur deleted the yaml-encoder-fix branch December 18, 2014 12:21
@jpadilla
Copy link
Contributor

Done, released v1.0.1 with this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

YAMLRenderer - RepresenterError : cannot represent an object: ReturnDict

2 participants