﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
25347	QueryDict can't return a list for a select multiple form element	Jonathan Drake	nobody	"I'm not sure why this is the case but QueryDict can't return a list object for a multi select unless you explicitly call getlist. I'm not sure why this is the case since it should be able to translate the POST or GET data into the proper data structures.

""In an HttpRequest object, the GET and POST attributes are instances of django.http.QueryDict, a dictionary-like class customized to deal with multiple values for the same key. This is necessary because some HTML form elements, notably <select multiple>, pass multiple values for the same key.""

This is from the documentation and it mentions that this custom class around the post data is needed to support it, yet doesn't explain why it's needed. No other language or framework I've worked with has this limitation where you need to explicitly know the form element's ""type"" before hand. This makes dynamically parsing the results impossible since you need to know the type before you can actually access it correctly.

Further more I don't see how returning the last element of a list is helpful in any real use cases. Clearly the class knows which data type it is if it can properly access the list element."	Cleanup/optimization	closed	HTTP handling	dev	Normal	wontfix			Unreviewed	0	0	0	0	0	0
