html.py
2.03 KB
-
Fix parsing multipart data using a nested serializer with list (#3820) · fdde44d9
It is possible that a key in a MultiValueDict has multiple values, lists are represented this way. When accessing a key in a MultiValueDict it only returns the last element of that key. This becomes a problem when parsing an html dict with a list inside of it. To fix this problem we have to get and set the value using .getlist() and .setlist().
Laurent De Marez committed