Skip to content

Commit f9d1a34

Browse files
committed
Fix nested HTML dictionaries. Closes #3314.
1 parent 4dfc66e commit f9d1a34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rest_framework/utils/html.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ def parse_html_dict(dictionary, prefix=''):
7878
}
7979
}
8080
"""
81-
ret = {}
81+
ret = MultiValueDict()
8282
regex = re.compile(r'^%s\.(.+)$' % re.escape(prefix))
8383
for field, value in dictionary.items():
8484
match = regex.match(field)

0 commit comments

Comments
 (0)