Hi,

Blow is a screen paste of server log for a small project I am working
on. I am just printing the httpRequests POST data.


Django version 0.96, using settings 'rsync.settings'
Development server is running at http://127.0.0.1:8000/
Quit the server with CONTROL-C.
httpr.POST = <MultiValueDict: {'sitename': ['new site'], 'destloc':
['bingo', 'sefg sdfg'], 'sloc': ['new loc']}>
str(httpr.POST) = <MultiValueDict: {'sitename': ['new site'],
'destloc': ['bingo', 'sefg sdfg'], 'sloc': ['new loc']}>
httpr.POST.values() = ['new site', 'sefg sdfg', 'new loc']
httpr.POST.keys() = ['sitename', 'destloc', 'sloc']
httpr.POST.items() = [('sitename', 'new site'), ('destloc', 'sefg
sdfg'), ('sloc', 'new loc')]
httpr.POST['destloc'][0] = s


I am submitting a form with a multiple select field.
POST['destloc'] should be a list ['bingo', 'sefg sdfg']
instead i get only 'sefg sdfg'.

Is the mistake Django's or mine?

Thank you for your help!

--Saravana


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to