django-rest-framework/rest_framework/utils
Laurent De Marez fdde44d9d1 Fix parsing multipart data using a nested serializer with list (#3820)
It is possible that a key in a MultiValueDict has multiple values, lists
are represented this way. When accessing a key in a MultiValueDict
it only returns the last element of that key. This becomes a problem
when parsing an html dict with a list inside of it.

To fix this problem we have to get and set the value using .getlist()
and .setlist().
2016-06-23 16:03:24 +01:00
..
__init__.py XML cleanup 2013-02-22 19:46:47 +00:00
breadcrumbs.py Merge pull request #3273 from olliewalsh/breadcrumbs_view_name 2016-03-23 01:10:13 +01:00
encoders.py Handle bytestrings in JSON. Closes #4185. (#4191) 2016-06-13 10:41:50 +01:00
field_mapping.py Merged two DecimalValidator tests together 2016-01-04 10:22:17 -05:00
formatting.py Remove Django 1.4 compat code 2015-08-07 00:02:29 +02:00
html.py Fix parsing multipart data using a nested serializer with list (#3820) 2016-06-23 16:03:24 +01:00
humanize_datetime.py Fleshing out serializer fields 2014-09-09 17:46:28 +01:00
mediatypes.py Cleanup import following PEP 8 style guide 2015-06-25 16:10:17 -04:00
model_meta.py Clean up existing deprecation warnings. (#4166) 2016-06-02 14:39:10 +01:00
representation.py Django 1.10 support. (#4158) 2016-06-01 15:31:00 +01:00
serializer_helpers.py Fix typos in ReturnDict and ReturnList docstrings 2016-05-16 20:39:13 -04:00
urls.py Fix compat issues 2015-01-16 20:30:46 +00:00