Skip to content
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

YAML encoder fix for 3.0 serializers. #2315

Merged
merged 1 commit into from
Dec 18, 2014
Merged

YAML encoder fix for 3.0 serializers. #2315

merged 1 commit into from
Dec 18, 2014

Conversation

tomchristie
Copy link
Member

Closes #2283.

@tomchristie tomchristie added this to the 3.0.3 Release milestone Dec 18, 2014
@jpadilla
Copy link
Member

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

@tomchristie
Copy link
Member 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.

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

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