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

More robust form rendering in the browsable API #4181

Merged
merged 1 commit into from Jun 8, 2016

Conversation

tomchristie
Copy link
Member

For custom view where a POST request returns a list of objects,
the browsable API can fail with a TypeError when attempting to render the form.

Broadly, this is because it is attempting to render a single-item serializer, with a list of data.

This pull request implements a more robust fallback when the initial form rendering fails.

Closes #3164.

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.

None yet

1 participant