mirror of
https://github.com/encode/django-rest-framework.git
synced 2026-02-18 13:10:35 +03:00
When using DictField with HTML form (multipart/form-data) input, parse_html_dict always returned an empty MultiValueDict when no matching keys were found. This made it impossible to distinguish between an unspecified field and an empty input, causing issues with required/default field handling. This aligns parse_html_dict with parse_html_list by adding a default parameter that is returned when no matching keys are found. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| breadcrumbs.py | ||
| encoders.py | ||
| field_mapping.py | ||
| formatting.py | ||
| html.py | ||
| humanize_datetime.py | ||
| json.py | ||
| mediatypes.py | ||
| model_meta.py | ||
| representation.py | ||
| serializer_helpers.py | ||
| timezone.py | ||
| urls.py | ||