mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-10 19:56:59 +03:00
Fix nested HTML dictionaries. Closes #3314.
This commit is contained in:
parent
4dfc66e45d
commit
f9d1a34fdd
|
@ -78,7 +78,7 @@ def parse_html_dict(dictionary, prefix=''):
|
|||
}
|
||||
}
|
||||
"""
|
||||
ret = {}
|
||||
ret = MultiValueDict()
|
||||
regex = re.compile(r'^%s\.(.+)$' % re.escape(prefix))
|
||||
for field, value in dictionary.items():
|
||||
match = regex.match(field)
|
||||
|
|
Loading…
Reference in New Issue
Block a user