diff --git a/rest_framework/utils/html.py b/rest_framework/utils/html.py index d773952dc..e825bdbeb 100644 --- a/rest_framework/utils/html.py +++ b/rest_framework/utils/html.py @@ -49,6 +49,12 @@ def parse_html_list(dictionary, prefix=''): for field, value in dictionary.items(): match = regex.match(field) if not match: + try: + normalized_value = json.loads(value) + except ValueError: + continue + if field == prefix and isinstance(normalized_value, list): + return normalized_value continue index, key = match.groups() index = int(index)