my request.POST looks like this:
{'body': ['some body text'], 'project': ['1'], 'note': ['1'], 'user':
['firs...@email.com', 'secon...@email.com', 'thir...@email.com'],
'byuser': ['1']}
now i´m trying to get all "users" to send them an email.
but with something like post_data["user"] i only get "thir...@email.com".
so, how can i get all the values for "user" within my dict?
patrick
You might want to take a look at Simon's response to this ticket:
http://code.djangoproject.com/ticket/1130
--
"May the forces of evil become confused on the way to your house."
-- George Carlin
post_data.getlist('user') should do it. See the docs here:
http://www.djangoproject.com/documentation/request_response/#querydict-objects
Adrian
--
Adrian Holovaty
holovaty.com | djangoproject.com | chicagocrime.org