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().
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| __init__.py | Loading commit data... | |
| breadcrumbs.py | Loading commit data... | |
| encoders.py | Loading commit data... | |
| field_mapping.py | Loading commit data... | |
| formatting.py | Loading commit data... | |
| html.py | Loading commit data... | |
| humanize_datetime.py | Loading commit data... | |
| mediatypes.py | Loading commit data... | |
| model_meta.py | Loading commit data... | |
| representation.py | Loading commit data... | |
| serializer_helpers.py | Loading commit data... | |
| urls.py | Loading commit data... |