mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-01-23 15:54:16 +03:00
Fix parse_html_dict signature. Closes #3212.
This commit is contained in:
parent
7b51508600
commit
6161ac7d07
|
@ -62,7 +62,7 @@ def parse_html_list(dictionary, prefix=''):
|
|||
return [ret[item] for item in sorted(ret.keys())]
|
||||
|
||||
|
||||
def parse_html_dict(dictionary, prefix):
|
||||
def parse_html_dict(dictionary, prefix=''):
|
||||
"""
|
||||
Used to support dictionary values in HTML forms.
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user