Hi Andrew,

This isn't a bug -- it's intended behavior. When you access an element
in a MultiValueDict, it returns the last item, as a string. See the
docs for more info:

http://www.djangoproject.com/documentation/request_response/#querydict-objects

If you want to get a list instead of a string, use
data.getlist('costs') instead of data['costs'].


Oh, it's good :-)

--
Andrew Degtiariov
DA-RIPE

Reply via email to