{{{
>>> from django.utils.datastructures import MultiValueDict
>>> mvd = MultiValueDict()
>>> mvd['test'] = 1
>>> mvd['test']
1
>>> dict(mvd)['test']
[1]
}}}
**Expected:**
{{{ dict(mvd)['test'] }}} yields {{{1}}}, like {{{ mvd['test'] }}} does
**Actual:**
{{{ dict(mvd)['test'] }}} yields {{{[1]}}} instead
--
Ticket URL: <https://code.djangoproject.com/ticket/29581>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* status: new => closed
* resolution: => wontfix
Comment:
I believe this is a duplicate of #12375. Even if the behavior could be
changed (I'm not sure what the implementation would look like), backwards
compatibility is probably more important. The resolution of the other
ticket was to add the `MultiValueDict.dict()` method in
97f22f29699476d5bcbbf599a3dba22909f4ec85.
--
Ticket URL: <https://code.djangoproject.com/ticket/29581#comment:1>