Skip to content

Conversation

@lovelydinosaur
Copy link
Contributor

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.

2 participants