diff options
| -rw-r--r-- | rest_framework/fields.py | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/rest_framework/fields.py b/rest_framework/fields.py index 382fd2dd..a5348922 100644 --- a/rest_framework/fields.py +++ b/rest_framework/fields.py @@ -1192,9 +1192,9 @@ class DictField(Field):      def get_value(self, dictionary):          # We override the default field access in order to support -        # lists in HTML forms. +        # dictionaries in HTML forms.          if html.is_html_input(dictionary): -            return html.parse_html_list(dictionary, prefix=self.field_name) +            return html.parse_html_dict(dictionary, prefix=self.field_name)          return dictionary.get(self.field_name, empty)      def to_internal_value(self, data): | 
