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

Pass json_dump_args to json.dumps #26

Merged
merged 5 commits into from
Jun 28, 2015
Merged

Pass json_dump_args to json.dumps #26

merged 5 commits into from
Jun 28, 2015

Conversation

catherinedevlin
Copy link
Contributor

JsonFields now accept a dict of arguments (json_dump_args) which will be passed through to json.dumps. This allows formatting the serialized output with indent, sort_keys, etc.

niwinz added a commit that referenced this pull request Jun 28, 2015
Pass `json_dump_args` to json.dumps
@niwinz niwinz merged commit 3986101 into djangonauts:master Jun 28, 2015
@niwinz
Copy link
Member

niwinz commented Jun 28, 2015

Great!
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