ListField data entered in HTML form view should be converted to list #4029
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This initial PullRequest is just to start the conversation; at the moment this consists simply of a new test that fails until I have a better grasp on what all the right tests are and if this is being approached correctly.
If using the HTML view of the interface to the REST framework, it is not possible to enter ListField data (as far as I can tell). This test verifies that ListField fields can accept pure string input and convert them to a proper list prior to validation.
I am not very knowledgable in how all the testing is set up for DRF, so I might be putting the test in the wrong place. Similar tests should probably also be created for other complex field types. And if this is already supported and I just don't understand how to use the interface, then let me know so I can document the right way to enter ListField data using the HTML interface.