mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-29 21:14:01 +03:00
fdde44d9d1
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(). |
||
---|---|---|
.. | ||
__init__.py | ||
breadcrumbs.py | ||
encoders.py | ||
field_mapping.py | ||
formatting.py | ||
html.py | ||
humanize_datetime.py | ||
mediatypes.py | ||
model_meta.py | ||
representation.py | ||
serializer_helpers.py | ||
urls.py |